mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix directory creation
fix https://github.com/chrislusf/seaweedfs/issues/794
This commit is contained in:
parent
f64dc7465b
commit
cab7fc7738
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue