Add metalctl
command line interface
#321
Annotations
9 errors
lint:
cmd/metalctl/app/move.go#L39
Error return value of `move.MarkFlagRequired` is not checked (errcheck)
|
lint:
cmd/metalctl/app/move.go#L40
Error return value of `move.MarkFlagRequired` is not checked (errcheck)
|
lint:
cmdutils/move_test.go#L53
Error return value of `controllerutil.SetOwnerReference` is not checked (errcheck)
|
lint:
cmdutils/move_test.go#L70
Error return value of `controllerutil.SetOwnerReference` is not checked (errcheck)
|
lint:
cmdutils/move_test.go#L87
ginkgo-linter: wrong error assertion. Consider using `Expect(err).ToNot(HaveOccurred())` instead (ginkgolinter)
|
lint:
cmdutils/move.go#L133
naked return in func `moveCrs` with 41 lines of code (nakedret)
|
lint:
cmdutils/move.go#L156
naked return in func `moveCrs` with 41 lines of code (nakedret)
|
lint:
cmdutils/move.go#L160
naked return in func `moveCrs` with 41 lines of code (nakedret)
|
lint
issues found
|