aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_fsck.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_volume_fsck.go')
-rw-r--r--weed/shell/command_volume_fsck.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_fsck.go b/weed/shell/command_volume_fsck.go
index c99287dff..02956e9ca 100644
--- a/weed/shell/command_volume_fsck.go
+++ b/weed/shell/command_volume_fsck.go
@@ -419,7 +419,7 @@ func (c *commandVolumeFsck) collectOneVolumeFileIds(dataNodeId string, volumeId
Size: int32(size),
})
if err != nil {
- return false, fmt.Errorf("to read needle meta with id %d from volume %d with error %v", key, volumeId, err)
+ return false, fmt.Errorf("read needle meta with id %d from volume %d: %v", key, volumeId, err)
}
return resp.AppendAtNs <= cutoffFrom, nil
})