mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-06 20:17:38 +01:00
Merge pull request #552 from chanyoung/filer-fixWrongErrorLog
filer: fixup print error message when make new directory
This commit is contained in:
commit
b3f714612d
1 file changed
+1
-1
@@ -167,7 +167,7 @@ func (dm *DirectoryManagerInMap) findDirectory(dirPath string) (*DirectoryEntryI
|
||||
if sub, ok := dir.getChild(parts[i]); ok {
|
||||
dir = sub
|
||||
} else {
|
||||
return dm.Root, fmt.Errorf("Directory %s Not Found", dirPath)
|
||||
return dm.Root, filer.ErrNotFound
|
||||
}
|
||||
}
|
||||
return dir, nil
|
||||
|
||||
Reference in new issue
Block a user