mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 20:20:25 +03:00
posix: Support UNC paths on windows. (#1887)
This allows us to now use 32K paths names on windows. Fixes #1620
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
4ab57f7d60
commit
ed4fe689b4
+2
-2
@@ -73,7 +73,7 @@ func getSingleNodeObjectLayer() (ObjectLayer, string, error) {
|
||||
// removeRoots - Cleans up initialized directories during tests.
|
||||
func removeRoots(roots []string) {
|
||||
for _, root := range roots {
|
||||
os.RemoveAll(root)
|
||||
removeAll(root)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ func removeRoots(roots []string) {
|
||||
func removeRandomDisk(disks []string, removeCount int) {
|
||||
ints := randInts(len(disks))
|
||||
for _, i := range ints[:removeCount] {
|
||||
os.RemoveAll(disks[i-1])
|
||||
removeAll(disks[i-1])
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user