aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_meta_notify.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-04-21 21:28:47 -0700
committerChris Lu <chris.lu@gmail.com>2020-04-21 21:28:47 -0700
commit9f9826e95afccc738d923c63a34c8ebcb3ca4569 (patch)
tree97064448dbbe2d51adf1f918dd54b17b2b5c8eef /weed/shell/command_fs_meta_notify.go
parente24b25de784daf42a15daf573249d608ebc2b44a (diff)
downloadseaweedfs-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.go2
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++