fix directory creation
fix https://github.com/chrislusf/seaweedfs/issues/794
This commit is contained in:
@@ -38,7 +38,7 @@ public class FilerClient {
|
|||||||
String parent = pathObject.getParent().toString();
|
String parent = pathObject.getParent().toString();
|
||||||
String name = pathObject.getFileName().toString();
|
String name = pathObject.getFileName().toString();
|
||||||
|
|
||||||
if ("/".equals(parent)) {
|
if ("/".equals(path)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user