aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-12-17 21:15:28 -0800
committerChris Lu <chris.lu@gmail.com>2019-12-17 21:15:28 -0800
commit29eb333f8e6ae41a255c1d05a991582c232c4064 (patch)
tree83091640e83d00052835e8fac1673d0256958d3c
parent14242e6c70d68770319e32bb3d6a5abe2b936a59 (diff)
downloadseaweedfs-29eb333f8e6ae41a255c1d05a991582c232c4064.tar.xz
seaweedfs-29eb333f8e6ae41a255c1d05a991582c232c4064.zip
fix comparing
-rw-r--r--weed/filer2/entry_codec.go2
1 files changed, 1 insertions, 1 deletions
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
}
}