mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-06 20:17:38 +01:00
fix comparing
This commit is contained in:
1 parent
14242e6c70
commit
29eb333f8e
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user