Skip to content

Commit

Permalink
netmap: fix linter warning
Browse files Browse the repository at this point in the history
Likely this better stay as is for compatibility.

Signed-off-by: Roman Khimov <[email protected]>
  • Loading branch information
roman-khimov committed Jan 25, 2024
1 parent 55f158d commit 65f6c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netmap/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func (p *PlacementPolicy) FromGRPCMessage(m grpc.Message) error {
return err
}

subnetID := v.GetSubnetId()
subnetID := v.GetSubnetId() //nolint:staticcheck // SA1019: v.GetSubnetId is deprecated: Marked as deprecated in netmap/grpc/types.proto
if subnetID == nil {
p.subnetID = nil
} else {
Expand Down

0 comments on commit 65f6c31

Please sign in to comment.