Unregistering runtime after Kyma CR was removed #15
Annotations
10 errors
lint:
controllers/compassmanager_controller.go#L5
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
lint:
controllers/compassmanager_controller.go#L10
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
lint:
controllers/compassmanager_controller.go#L103
error is not nil (line 101) but it returns nil (nilerr)
|
lint:
controllers/compassmanager_controller_test.go#L193
`getCompassMappingLabel` - `labelName` always receives `ComppassIDLabel` (`"kyma-project.io/compass-runtime-id"`) (unparam)
|
lint:
controllers/registrator.go#L53
mnd: Magic number: 10, in <argument> detected (gomnd)
|
lint:
controllers/suite_test.go#L124
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint:
internal/graphql/client.go#L7
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
lint:
internal/graphql/client.go#L10
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
lint:
internal/graphql/client.go#L58
`if err != nil` has complex nested blocks (complexity: 6) (nestif)
|
lint:
internal/graphql/gql_client_testkit.go#L20
unused-parameter: parameter 'gracefulUnregistration' seems to be unused, consider removing or renaming it as _ (revive)
|