mirror of
https://github.com/minio/minio.git
synced 2025-01-24 13:13:16 -05:00
Fix HDFS wrong filepath if subpath provided (#11574)
This commit is contained in:
parent
be7de911c4
commit
48b212dd8e
@ -497,7 +497,7 @@ func (n *hdfsObjects) populateDirectoryListing(filePath string, fileInfos map[st
|
||||
}
|
||||
|
||||
for _, fileInfo := range infos {
|
||||
filePath := n.hdfsPathJoin(filePath, fileInfo.Name())
|
||||
filePath := minio.PathJoin(filePath, fileInfo.Name())
|
||||
fileInfos[filePath] = fileInfo
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user