Use cluster endpoint at startup #242
Annotations
10 errors
|
lint:
pkg/deploymentrecord/client.go#L277
unnecessary-format: unnecessary use of formatting function "fmt.Errorf", you can replace it with "errors.New" (revive)
|
|
lint:
pkg/deploymentrecord/client.go#L253
var-naming: var clusterUrl should be clusterURL (revive)
|
|
lint:
pkg/deploymentrecord/client.go#L203
var-naming: var singleUrl should be singleURL (revive)
|
|
lint:
pkg/deploymentrecord/client.go#L168
exported: exported type ClusterNoRepositoriesError should have comment or be unexported (revive)
|
|
lint:
internal/controller/reporting_test.go#L229
unnecessary-format: unnecessary use of formatting function "fmt.Errorf", you can replace it with "errors.New" (revive)
|
|
lint:
internal/controller/reporting_test.go#L201
use-any: since Go 1.18 'interface{}' can be replaced by 'any' (revive)
|
|
lint:
internal/controller/reporting_test.go#L169
use-any: since Go 1.18 'interface{}' can be replaced by 'any' (revive)
|
|
lint:
internal/controller/reporting_test.go#L123
use-any: since Go 1.18 'interface{}' can be replaced by 'any' (revive)
|
|
lint:
pkg/deploymentrecord/client.go#L479
sloppyLen: len(records) <= 0 can be len(records) == 0 (gocritic)
|
|
lint:
pkg/deploymentrecord/client.go#L248
sloppyLen: len(records) <= 0 can be len(records) == 0 (gocritic)
|