forked from TrueCloudLab/frostfs-api-go
[#136] v2/acl: Fix record stable size
This commit is contained in:
parent
148618b5b3
commit
59f804faa2
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ func (r *Record) StableSize() (size int) {
|
||||||
}
|
}
|
||||||
|
|
||||||
size += proto.EnumSize(recordOperationField, int32(r.op))
|
size += proto.EnumSize(recordOperationField, int32(r.op))
|
||||||
size += proto.EnumSize(recordActionField, int32(r.op))
|
size += proto.EnumSize(recordActionField, int32(r.action))
|
||||||
|
|
||||||
for i := range r.filters {
|
for i := range r.filters {
|
||||||
size += proto.NestedStructureSize(recordFiltersField, r.filters[i])
|
size += proto.NestedStructureSize(recordFiltersField, r.filters[i])
|
||||||
|
|
Loading…
Reference in a new issue