mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix comparing
This commit is contained in:
parent
14242e6c70
commit
29eb333f8e
|
@ -107,7 +107,7 @@ func eq(a, b map[string][]byte) bool {
|
|||
}
|
||||
|
||||
for k, v := range a {
|
||||
if w, ok := b[k]; !ok || bytes.Equal(v, w) {
|
||||
if w, ok := b[k]; !ok || !bytes.Equal(v, w) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue