Skip to content

sample: add STATUS and GC impls #92

sample: add STATUS and GC impls

sample: add STATUS and GC impls #92

Triggered via push March 20, 2024 12:09
Status Failure
Total duration 1m 6s
Artifacts

test.yaml

on: push
Build all linux architectures
0s
Build all linux architectures
Run tests on Linux amd64
0s
Run tests on Linux amd64
Build and run tests on Windows
0s
Build and run tests on Windows
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
Lint: pkg/testutils/dhcp4server/leasepool/lease.go#L29
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/containernetworking) (gci)
Lint: pkg/testutils/dhcp4server/server.go#L13
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/containernetworking) (gci)
Lint: pkg/testutils/dhcp4server/server.go#L16
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/containernetworking) (gci)
Lint: pkg/testutils/dhcp4server/leasepool/lease.go#L21
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: pkg/testutils/dhcp4server/leasepool/lease.go#L22
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: pkg/testutils/dhcp4server/leasepool/lease.go#L23
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: pkg/testutils/dhcp4server/server.go#L192
File is not `gofumpt`-ed (gofumpt)
Lint: pkg/testutils/dhcp4server/server.go#L428
File is not `gofumpt`-ed (gofumpt)
Lint: pkg/testutils/dhcp4server/server.go#L449
File is not `gofumpt`-ed (gofumpt)
Lint: pkg/testutils/dhcp4server/leasepool/memorypool/memorypool.go#L57
`Persistant` is a misspelling of `Persistent` (misspell)
Lint: pkg/testutils/dhcp4server/leasepool/lease.go#L40
receiver-naming: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (revive)
Lint: pkg/testutils/dhcp4server/leasepool/lease.go#L51
receiver-naming: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (revive)
Lint: pkg/testutils/dhcp4server/leasepool/lease.go#L76
receiver-naming: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (revive)
Lint: pkg/testutils/dhcp4server/server.go#L191
var-naming: don't use underscores in Go names; var control_message should be controlMessage (revive)
Lint: pkg/testutils/dhcp4server/server.go#L79
unreachable-code: unreachable code after this statement (revive)
Lint: pkg/testutils/dhcp4server/server.go#L386
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
Lint: plugins/main/ptp/ptp_test.go#L328
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)