[#44] netmap: Fix ineffassign linter warning

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2023-06-29 11:26:49 +03:00
parent 29b2078245
commit 3add88d435

View file

@ -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
}