aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_verify.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_fs_verify.go')
-rw-r--r--weed/shell/command_fs_verify.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_fs_verify.go b/weed/shell/command_fs_verify.go
index 11cc64d78..07f3fd9c1 100644
--- a/weed/shell/command_fs_verify.go
+++ b/weed/shell/command_fs_verify.go
@@ -117,7 +117,7 @@ type ItemEntry struct {
func (c *commandFsVerify) verifyTraverseBfs(path string) (fileCount int64, errCount int64, err error) {
timeNowAtSec := time.Now().Unix()
- return fileCount, errCount, doTraverseBfsAndSaving(c.env, nil, path, false,
+ return fileCount, errCount, doTraverseBfsAndSaving(c.env, c.writer, path, false,
func(entry *filer_pb.FullEntry, outputChan chan interface{}) (err error) {
if c.modifyTimeAgoAtSec > 0 {
if entry.Entry.Attributes != nil && c.modifyTimeAgoAtSec < timeNowAtSec-entry.Entry.Attributes.Mtime {