refactor(grpc_gw): cleanup pci inventory gathering #29
Annotations
10 errors and 1 warning
golangci:
nwgate/pkg/inventory/inventory.go#L77
G115: integer overflow conversion uint32 -> int32 (gosec)
|
golangci:
nwgate/pkg/dpudev/Interface.go#L93
G115: integer overflow conversion int -> uint32 (gosec)
|
golangci:
nwgate/pkg/dpudev/Interface.go#L101
G115: integer overflow conversion int -> uint32 (gosec)
|
golangci:
nwgate/pkg/dpudev/Interface.go#L105
G115: integer overflow conversion int -> uint32 (gosec)
|
golangci:
nwgate/pkg/dpudev/inventory.go#L72
G115: integer overflow conversion uint32 -> int32 (gosec)
|
golangci:
nwgate/pkg/common/proto.go#L3
package-comments: package comment should be of the form "Package common ..." (revive)
|
golangci:
nwgate/pkg/dpudev/Interface.go#L22
var-naming: don't use underscores in Go names; var net_intfs should be netIntfs (revive)
|
golangci:
nwgate/pkg/dpudev/Interface.go#L29
var-declaration: should omit type bool from declaration of var ifloop; it will be inferred from the right-hand side (revive)
|
golangci:
nwgate/pkg/dpudev/Interface.go#L30
var-declaration: should omit type bool from declaration of var ifenabled; it will be inferred from the right-hand side (revive)
|
golangci:
nwgate/pkg/dpudev/Interface.go#L31
ineffectual assignment to ifadmin (ineffassign)
|
golangci
Restore cache failed: Dependencies file is not found in /home/runner/work/Protos/Protos. Supported file pattern: go.sum
|