forked from TrueCloudLab/frostfs-api-go
[#44] netmap: Fix ineffassign linter warning
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
29b2078245
commit
3add88d435
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ func (p *PlacementPolicy) StableMarshal(buf []byte) []byte {
|
|||
offset += protoutil.NestedStructureMarshal(filtersPolicyField, buf[offset:], &p.filters[i])
|
||||
}
|
||||
|
||||
offset += protoutil.BoolMarshal(uniquePolicyField, buf[offset:], p.unique)
|
||||
protoutil.BoolMarshal(uniquePolicyField, buf[offset:], p.unique)
|
||||
|
||||
return buf
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue