mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-30 23:29:02 +08:00
fix collectionIsMismatch charset
This commit is contained in:
parent
10d435f2c2
commit
44f53ceda6
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user