diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-01-19 23:59:46 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-01-19 23:59:46 -0800 |
| commit | 1b0bfbaf59ba613ebae6b90021b2270b3ac34bc5 (patch) | |
| tree | e8b08130edd727e14b8e1608fdb7771aab0d5764 /weed/shell/command_fs_meta_save.go | |
| parent | 2f15e9346696d18032b9d2bfffe459635cb36171 (diff) | |
| download | seaweedfs-1b0bfbaf59ba613ebae6b90021b2270b3ac34bc5.tar.xz seaweedfs-1b0bfbaf59ba613ebae6b90021b2270b3ac34bc5.zip | |
refactoring
Diffstat (limited to 'weed/shell/command_fs_meta_save.go')
| -rw-r--r-- | weed/shell/command_fs_meta_save.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_fs_meta_save.go b/weed/shell/command_fs_meta_save.go index ed070350f..178c826d5 100644 --- a/weed/shell/command_fs_meta_save.go +++ b/weed/shell/command_fs_meta_save.go @@ -168,7 +168,7 @@ func processOneDirectory(ctx context.Context, writer io.Writer, filerClient file parentPath filer2.FullPath, queue *util.Queue, jobQueueWg *sync.WaitGroup, fn func(parentPath filer2.FullPath, entry *filer_pb.Entry)) (err error) { - return filer2.ReadDirAllEntries(ctx, filerClient, string(parentPath), "", func(entry *filer_pb.Entry, isLast bool) { + return filer2.ReadDirAllEntries(ctx, filerClient, parentPath, "", func(entry *filer_pb.Entry, isLast bool) { fn(parentPath, entry) |
