[#44] netmap: Fix ineffassign linter warning
All checks were successful
Tests and linters / Tests (1.20) (pull_request) Successful in 50s
Tests and linters / Lint (pull_request) Successful in 3m1s
Tests and linters / Tests (1.19) (pull_request) Successful in 4m58s
Tests and linters / Tests with -race (pull_request) Successful in 5m56s

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
}