diff options
| author | chrislu <chris.lu@gmail.com> | 2022-09-05 10:47:13 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-09-05 10:47:13 -0700 |
| commit | 3f4400dc03c3c1476f3edf89d3da31f57bcd4278 (patch) | |
| tree | fdd27eaf9fac9a3d88b022b42ea224aec97730ae /weed/shell/command_volume_check_disk.go | |
| parent | daa086fd723051e9b4147748e8483fca9d2672f7 (diff) | |
| parent | 7c277f36ec0cbe8fe0bfa41c8971ef0d5d49245b (diff) | |
| download | seaweedfs-3f4400dc03c3c1476f3edf89d3da31f57bcd4278.tar.xz seaweedfs-3f4400dc03c3c1476f3edf89d3da31f57bcd4278.zip | |
Merge branch 'master' into message_send
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 403a3a841..f1924d32d 100644 --- a/weed/shell/command_volume_check_disk.go +++ b/weed/shell/command_volume_check_disk.go @@ -129,10 +129,10 @@ func (c *commandVolumeCheckDisk) checkBoth(a *VolumeReplica, b *VolumeReplica, a // find and make up the differences if aHasChanges, err = c.doVolumeCheckDisk(bDB, aDB, b, a, verbose, writer, applyChanges, nonRepairThreshold); err != nil { - return true, true, fmt.Errorf("doVolumeCheckDisk source:%s target:%s volume %d: %v", b.location.dataNode, a.location.dataNode, b.info.Id, err) + return true, true, fmt.Errorf("doVolumeCheckDisk source:%s target:%s volume %d: %v", b.location.dataNode.Id, a.location.dataNode.Id, b.info.Id, err) } if bHasChanges, err = c.doVolumeCheckDisk(aDB, bDB, a, b, verbose, writer, applyChanges, nonRepairThreshold); err != nil { - return true, true, fmt.Errorf("doVolumeCheckDisk source:%s target:%s volume %d: %v", a.location.dataNode, b.location.dataNode, a.info.Id, err) + return true, true, fmt.Errorf("doVolumeCheckDisk source:%s target:%s volume %d: %v", a.location.dataNode.Id, b.location.dataNode.Id, a.info.Id, err) } return } |
