Skip to content

refactor(nwgate): Update for new protobufs and interface data gathering #19

refactor(nwgate): Update for new protobufs and interface data gathering

refactor(nwgate): Update for new protobufs and interface data gathering #19

Triggered via push July 22, 2024 22:18
Status Failure
Total duration 47s
Artifacts

linters.yml

on: push
markdown-lint
7s
markdown-lint
shellcheck
6s
shellcheck
golangci
37s
golangci
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
golangci: nwgate/pkg/dpudev/Interface.go#L99
commentFormatting: put a space between `//` and comment text (gocritic)
golangci: 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)
golangci: nwgate/pkg/dpudev/Interface.go#L18
exported: exported type Ifports should have comment or be unexported (revive)
golangci: nwgate/pkg/dpudev/Interface.go#L25
var-naming: don't use underscores in Go names; struct field st_admin should be stAdmin (revive)
golangci: nwgate/pkg/dpudev/Interface.go#L26
var-naming: don't use underscores in Go names; struct field st_oper should be stOper (revive)
golangci: nwgate/pkg/dpudev/Interface.go#L33
var-naming: don't use underscores in Go names; var net_intfs should be netIntfs (revive)
golangci: nwgate/pkg/dpudev/Interface.go#L19
field `name` is unused (unused)
golangci: nwgate/pkg/dpudev/Interface.go#L20
field `ifindex` is unused (unused)
golangci: nwgate/pkg/dpudev/Interface.go#L21
field `iftype` is unused (unused)
golangci: nwgate/pkg/dpudev/Interface.go#L22
field `mtu` is unused (unused)
golangci
Restore cache failed: Dependencies file is not found in /home/runner/work/Protos/Protos. Supported file pattern: go.sum