aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_check_disk.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_volume_check_disk.go')
-rw-r--r--weed/shell/command_volume_check_disk.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_check_disk.go b/weed/shell/command_volume_check_disk.go
index 06154b92b..2f3ccfdc6 100644
--- a/weed/shell/command_volume_check_disk.go
+++ b/weed/shell/command_volume_check_disk.go
@@ -394,7 +394,7 @@ func writeToBuffer(client volume_server_pb.VolumeServer_CopyFileClient, buf *byt
break
}
if receiveErr != nil {
- return fmt.Errorf("receiving: %v", receiveErr)
+ return fmt.Errorf("receiving: %w", receiveErr)
}
buf.Write(resp.FileContent)
}