update hack/tools, update golangci-lint and fix lints #1614
Annotations
10 errors
internal/command/flags/flags.go#L159
Error return value is not checked (errcheck)
|
infrastructure/microvm/cloudhypervisor/create.go#L161
assignOp: replace `arg = arg + netInt.GuestMAC` with `arg += netInt.GuestMAC` (gocritic)
|
infrastructure/microvm/cloudhypervisor/create.go#L136
ifElseChain: rewrite if-else to switch statement (gocritic)
|
infrastructure/microvm/cloudhypervisor/provider.go#L165
commentFormatting: put a space between `//` and comment text (gocritic)
|
core/models/volumes.go#L35
Comment should end in a period (godot)
|
pkg/cloudhypervisor/client.go#L163
Comment should end in a period (godot)
|
pkg/cloudhypervisor/types.go#L331
Comment should end in a period (godot)
|
internal/command/flags/flags.go#L156
Comment should end in a period (godot)
|
infrastructure/microvm/cloudhypervisor/create.go#L57
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
|
internal/command/flags/flags.go#L25
G101: Potential hardcoded credentials (gosec)
|
This job failed
Loading