diff --git a/weed/filer2/entry_codec.go b/weed/filer2/entry_codec.go index d0045597a..3a2dc6134 100644 --- a/weed/filer2/entry_codec.go +++ b/weed/filer2/entry_codec.go @@ -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 } }