diff options
| author | chrislu <chris.lu@gmail.com> | 2022-01-21 01:42:20 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-01-21 01:42:20 -0800 |
| commit | 606667f205774943fc64884bc86b2befddfd75c3 (patch) | |
| tree | 375a160403caab7df5f38d5716f3360f265a8233 /weed/filer/entry_codec.go | |
| parent | b1063162b68ff2e84d3038c13c151e479475b6ef (diff) | |
| download | seaweedfs-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.go | 3 |
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 } |
