Add metalctl
command line interface
#298
Annotations
10 errors
golangci-lint:
cmd/metalctl/app/move.go#L49
Error return value of `move.MarkFlagRequired` is not checked (errcheck)
|
golangci-lint:
cmd/metalctl/app/move.go#L50
Error return value of `move.MarkFlagRequired` is not checked (errcheck)
|
golangci-lint:
cmd/metalctl/app/move_test.go#L48
Error return value of `controllerutil.SetOwnerReference` is not checked (errcheck)
|
golangci-lint:
cmd/metalctl/app/move_test.go#L55
Error return value of `controllerutil.SetOwnerReference` is not checked (errcheck)
|
golangci-lint:
cmd/metalctl/app/move.go#L260
`retrive` is a misspelling of `retrieve` (misspell)
|
golangci-lint:
cmd/metalctl/app/move_test.go#L68
ginkgo-linter: wrong error assertion. Consider using `Expect(err).ToNot(HaveOccurred())` instead (ginkgolinter)
|
golangci-lint:
cmd/metalctl/app/move.go#L253
naked return in func `moveCrs` with 39 lines of code (nakedret)
|
golangci-lint:
cmd/metalctl/app/move.go#L274
naked return in func `moveCrs` with 39 lines of code (nakedret)
|
golangci-lint:
cmd/metalctl/app/move.go#L278
naked return in func `moveCrs` with 39 lines of code (nakedret)
|
golangci-lint
issues found
|
Loading