Browse Source

fix comparing

pull/1165/head
Chris Lu 5 years ago
parent
commit
29eb333f8e
  1. 2
      weed/filer2/entry_codec.go

2
weed/filer2/entry_codec.go

@ -107,7 +107,7 @@ func eq(a, b map[string][]byte) bool {
} }
for k, v := range a { 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 return false
} }
} }

Loading…
Cancel
Save