Creation of CompassManagerMapping CRD after successfull registration Runtime in Compass #2
Annotations
10 errors and 4 warnings
lint:
api/v1beta1/groupversion_info.go#L13
GroupVersion is a global variable (gochecknoglobals)
|
lint:
api/v1beta1/groupversion_info.go#L16
SchemeBuilder is a global variable (gochecknoglobals)
|
lint:
api/v1beta1/groupversion_info.go#L19
AddToScheme is a global variable (gochecknoglobals)
|
lint:
controllers/compassmanager_controller.go#L89
requeueTime is a global variable (gochecknoglobals)
|
lint:
controllers/compassmanager_controller.go#L115
shadow: declaration of "err" shadows declaration at line 93 (govet)
|
lint:
controllers/compassmanager_controller_test.go#L7
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
lint:
controllers/compassmanager_controller_test.go#L13
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
lint:
controllers/compassmanager_controller_test.go#L111
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint:
controllers/registrator.go#L36
mnd: Magic number: 5, in <argument> detected (gomnd)
|
lint:
controllers/registrator.go#L50
mnd: Magic number: 5, in <argument> detected (gomnd)
|
lint:
controllers/compassmanager_controller.go#L91
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
controllers/configurator.go#L13
unused-parameter: parameter 'kubeconfig' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
controllers/configurator.go#L17
unused-parameter: parameter 'kubeconfig' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
internal/apperrors/presenter.go#L17
unexported-return: exported func NewPresenter returns unexported type *apperrors.presenter, which can be annoying to use (revive)
|