diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-07-13 11:40:21 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-07-13 11:40:21 -0700 |
| commit | 5a838dbe53acc82e853c206ce3d21e4712e16f73 (patch) | |
| tree | ccd4814aca94010aefd6f2964abc616a61f08776 /weed/shell/command_volume_check_disk.go | |
| parent | 6103649ffb3662834e5d0eea6652a720d23c77a6 (diff) | |
| download | seaweedfs-5a838dbe53acc82e853c206ce3d21e4712e16f73.tar.xz seaweedfs-5a838dbe53acc82e853c206ce3d21e4712e16f73.zip | |
fix compilation
Diffstat (limited to 'weed/shell/command_volume_check_disk.go')
| -rw-r--r-- | weed/shell/command_volume_check_disk.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/shell/command_volume_check_disk.go b/weed/shell/command_volume_check_disk.go index d8784f878..6fc70c753 100644 --- a/weed/shell/command_volume_check_disk.go +++ b/weed/shell/command_volume_check_disk.go @@ -150,7 +150,7 @@ func (c *commandVolumeCheckDisk) doVolumeCheckDisk(subtrahend, minuend *needle_m needleBlob, err := c.readSourceNeedleBlob(source.location.dataNode.Id, source.info.Id, needleValue) if err != nil { - return + return hasChanges, err } if !applyChanges { @@ -164,7 +164,7 @@ func (c *commandVolumeCheckDisk) doVolumeCheckDisk(subtrahend, minuend *needle_m hasChanges = true if err = c.writeNeedleBlobToTarget(target.location.dataNode.Id, source.info.Id, needleValue, needleBlob); err != nil { - return + return hasChanges, err } } |
