From 44f53ceda6ba9add568e9a8c4e69561bc8b9654a Mon Sep 17 00:00:00 2001 From: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> Date: Mon, 16 May 2022 13:23:23 +0500 Subject: [PATCH] fix collectionIsMismatch charset --- weed/shell/command_volume_fix_replication.go | 6 +++--- 1 file 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 }