forked from TrueCloudLab/frostfs-api-go
[#44] netmap: Fix ineffassign linter warning
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>feature/40-autogen_marsh/proto
parent
29b2078245
commit
3add88d435
|
@ -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 New Issue