mirror of
https://github.com/pgsty/minio.git
synced 2026-07-21 05:00:22 +03:00
xl/fs: pathJoin now takes variadic inputs. (#1550)
Retains slash for the last element. Fixes #1546
This commit is contained in:
+1
-1
@@ -71,7 +71,7 @@ func cleanupDir(storage StorageAPI, volume, dirPath string) error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
return delFunc(retainSlash(dirPath))
|
||||
return delFunc(retainSlash(pathJoin(dirPath)))
|
||||
}
|
||||
|
||||
/// Common object layer functions.
|
||||
|
||||
Reference in New Issue
Block a user