diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2022-05-16 07:38:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-16 07:38:26 -0700 |
| commit | a84f4eefc23e1d9841908ba717d0606e414014ea (patch) | |
| tree | e9e73eafd2b05db141936fb63bf688d039eaedb5 | |
| parent | 17c676cb86a5e9a7d2b9c8c6b1970c0350406fd0 (diff) | |
| parent | 44f53ceda6ba9add568e9a8c4e69561bc8b9654a (diff) | |
| download | seaweedfs-a84f4eefc23e1d9841908ba717d0606e414014ea.tar.xz seaweedfs-a84f4eefc23e1d9841908ba717d0606e414014ea.zip | |
Merge pull request #3058 from kmlebedev/fix_collectionIsMismatch
| -rw-r--r-- | weed/shell/command_volume_fix_replication.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/shell/command_volume_fix_replication.go b/weed/shell/command_volume_fix_replication.go index 3c5538550..2afcd9cba 100644 --- a/weed/shell/command_volume_fix_replication.go +++ b/weed/shell/command_volume_fix_replication.go @@ -200,14 +200,14 @@ func (c *commandVolumeFixReplication) deleteOneVolume(commandEnv *CommandEnv, wr } } - сollectionIsMismatch := false + collectionIsMismatch := false for _, volumeReplica := range replicas { if volumeReplica.info.Collection != replica.info.Collection { fmt.Fprintf(writer, "skip delete volume %d as collection %s is mismatch: %s\n", replica.info.Id, replica.info.Collection, volumeReplica.info.Collection) - сollectionIsMismatch = true + collectionIsMismatch = true } } - if сollectionIsMismatch { + if collectionIsMismatch { continue } |
