diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-04-21 21:28:47 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-04-21 21:28:47 -0700 |
| commit | 9f9826e95afccc738d923c63a34c8ebcb3ca4569 (patch) | |
| tree | 97064448dbbe2d51adf1f918dd54b17b2b5c8eef /weed/shell/command_fs_meta_notify.go | |
| parent | e24b25de784daf42a15daf573249d608ebc2b44a (diff) | |
| download | seaweedfs-9f9826e95afccc738d923c63a34c8ebcb3ca4569.tar.xz seaweedfs-9f9826e95afccc738d923c63a34c8ebcb3ca4569.zip | |
refactor
Diffstat (limited to 'weed/shell/command_fs_meta_notify.go')
| -rw-r--r-- | weed/shell/command_fs_meta_notify.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_fs_meta_notify.go b/weed/shell/command_fs_meta_notify.go index 56e63e98f..4342fa81d 100644 --- a/weed/shell/command_fs_meta_notify.go +++ b/weed/shell/command_fs_meta_notify.go @@ -43,7 +43,7 @@ func (c *commandFsMetaNotify) Do(args []string, commandEnv *CommandEnv, writer i var dirCount, fileCount uint64 - err = doTraverseBfs(writer, commandEnv, util.FullPath(path), func(parentPath util.FullPath, entry *filer_pb.Entry) { + err = filer_pb.TraverseBfs(commandEnv, util.FullPath(path), func(parentPath util.FullPath, entry *filer_pb.Entry) { if entry.IsDirectory { dirCount++ |
