diff options
| author | Lisandro Pin <lisandro.pin@proton.ch> | 2024-11-19 15:33:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-19 06:33:18 -0800 |
| commit | 0d5393641eab18ec356c7e0ebaf51b1164094d8c (patch) | |
| tree | 38bf4a3ed3b277c9e1210bb025f4b2e34a6f09a4 /weed/shell/command_volume_fsck.go | |
| parent | 2caa0e37414be6feeb5a8ef0b57bdfc78c64728e (diff) | |
| download | seaweedfs-0d5393641eab18ec356c7e0ebaf51b1164094d8c.tar.xz seaweedfs-0d5393641eab18ec356c7e0ebaf51b1164094d8c.zip | |
Unify usage of shell.EcNode.dc as DataCenterId. (#6258)
Diffstat (limited to 'weed/shell/command_volume_fsck.go')
| -rw-r--r-- | weed/shell/command_volume_fsck.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_fsck.go b/weed/shell/command_volume_fsck.go index 30d3ecd11..dbd814309 100644 --- a/weed/shell/command_volume_fsck.go +++ b/weed/shell/command_volume_fsck.go @@ -651,7 +651,7 @@ func (c *commandVolumeFsck) collectVolumeIds() (volumeIdToServer map[string]map[ return } - eachDataNode(topologyInfo, func(dc string, rack RackId, t *master_pb.DataNodeInfo) { + eachDataNode(topologyInfo, func(dc DataCenterId, rack RackId, t *master_pb.DataNodeInfo) { var volumeCount, ecShardCount int dataNodeId := t.GetId() for _, diskInfo := range t.DiskInfos { |
