[#44] netmap: Fix ineffassign linter warning

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
feature/40-autogen_marsh/proto
Evgenii Stratonikov 2023-06-29 11:26:49 +03:00
parent 29b2078245
commit 3add88d435
1 changed files with 1 additions and 1 deletions

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
}