fix directory creation

fix https://github.com/chrislusf/seaweedfs/issues/794
This commit is contained in:
Chris Lu 2018-12-17 20:37:55 -08:00
parent f64dc7465b
commit cab7fc7738

View file

@ -38,7 +38,7 @@ public class FilerClient {
String parent = pathObject.getParent().toString();
String name = pathObject.getFileName().toString();
if ("/".equals(parent)) {
if ("/".equals(path)) {
return true;
}