aboutsummaryrefslogtreecommitdiff
path: root/weed/filer/entry_codec.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-01-21 01:42:20 -0800
committerchrislu <chris.lu@gmail.com>2022-01-21 01:42:20 -0800
commit606667f205774943fc64884bc86b2befddfd75c3 (patch)
tree375a160403caab7df5f38d5716f3360f265a8233 /weed/filer/entry_codec.go
parentb1063162b68ff2e84d3038c13c151e479475b6ef (diff)
downloadseaweedfs-606667f205774943fc64884bc86b2befddfd75c3.tar.xz
seaweedfs-606667f205774943fc64884bc86b2befddfd75c3.zip
able to configure the quota for a bucket
Diffstat (limited to 'weed/filer/entry_codec.go')
-rw-r--r--weed/filer/entry_codec.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/weed/filer/entry_codec.go b/weed/filer/entry_codec.go
index 55c937b39..0a917bea9 100644
--- a/weed/filer/entry_codec.go
+++ b/weed/filer/entry_codec.go
@@ -118,6 +118,9 @@ func EqualEntry(a, b *Entry) bool {
if !proto.Equal(a.Remote, b.Remote) {
return false
}
+ if a.Quota != b.Quota {
+ return false
+ }
return true
}