fix: improve memory-usage for inmemory-store #1486
Annotations
10 errors
Run golangci-lint:
api/internal/controller/apiexposure_controller_test.go#L12
ST1019(related information): other import of "github.com/telekom/controlplane/api/api/v1" (staticcheck)
|
Run golangci-lint:
api/internal/controller/apiexposure_controller_test.go#L11
ST1019: package "github.com/telekom/controlplane/api/api/v1" is being imported more than once (staticcheck)
|
Run golangci-lint:
api/internal/controller/apiexposure_controller.go#L114
QF1008: could remove embedded field "Client" from selector (staticcheck)
|
Run golangci-lint:
api/internal/controller/apiexposure_controller.go#L85
QF1008: could remove embedded field "Client" from selector (staticcheck)
|
Run golangci-lint:
api/internal/controller/api_controller.go#L72
QF1008: could remove embedded field "Client" from selector (staticcheck)
|
Run golangci-lint:
api/internal/handler/suite_test.go#L67
comment-spacings: no space between comment delimiter and comment text (revive)
|
Run golangci-lint:
api/internal/handler/suite_test.go#L60
comment-spacings: no space between comment delimiter and comment text (revive)
|
Run golangci-lint:
api/internal/handler/util/route_util.go#L232
ineffectual assignment to err (ineffassign)
|
Run golangci-lint:
api/internal/handler/apisubscription/validation.go#L9
File is not properly formatted (goimports)
|
Run golangci-lint:
api/internal/handler/apisubscription/handler.go#L34
cyclomatic complexity 45 of func `(*ApiSubscriptionHandler).CreateOrUpdate` is high (> 30) (gocyclo)
|
Loading