refactor(nwgate): Update for new protobufs and interface data gathering #19
Annotations
10 errors and 1 warning
nwgate/pkg/dpudev/Interface.go#L99
commentFormatting: put a space between `//` and comment text (gocritic)
|
nwgate/pkg/dpudev/Interface.go#L39
var-declaration: should omit type bool from declaration of var ifloop; it will be inferred from the right-hand side (revive)
|
nwgate/pkg/dpudev/Interface.go#L18
exported: exported type Ifports should have comment or be unexported (revive)
|
nwgate/pkg/dpudev/Interface.go#L25
var-naming: don't use underscores in Go names; struct field st_admin should be stAdmin (revive)
|
nwgate/pkg/dpudev/Interface.go#L26
var-naming: don't use underscores in Go names; struct field st_oper should be stOper (revive)
|
nwgate/pkg/dpudev/Interface.go#L33
var-naming: don't use underscores in Go names; var net_intfs should be netIntfs (revive)
|
nwgate/pkg/dpudev/Interface.go#L19
field `name` is unused (unused)
|
nwgate/pkg/dpudev/Interface.go#L20
field `ifindex` is unused (unused)
|
nwgate/pkg/dpudev/Interface.go#L21
field `iftype` is unused (unused)
|
nwgate/pkg/dpudev/Interface.go#L22
field `mtu` is unused (unused)
|
|
This job failed
Loading