Started on fix for resources #214
Annotations
10 errors and 1 warning
|
Run on Ubuntu:
internal/controller/static_files/reader.go#L1
var-naming: don't use an underscore in package name (revive)
|
|
Run on Ubuntu:
api/v3/wms_validation.go#L57
calculated cyclomatic complexity for function validateWMS is 55, max is 15 (cyclop)
|
|
Run on Ubuntu:
api/v3/wms_types.go#L27
File is not properly formatted (goimports)
|
|
Run on Ubuntu:
api/v3/wms_validation.go#L5
File is not properly formatted (goimports)
|
|
Run on Ubuntu:
api/v3/wms_types_test.go#L3
File is not properly formatted (goimports)
|
|
Run on Ubuntu:
api/v3/wms_types.go#L546
`if wms.Spec.Service.Layer.Layers != nil` has complex nested blocks (complexity: 6) (nestif)
|
|
Run on Ubuntu:
api/v3/wms_validation.go#L149
`if layer.Visible != nil && *layer.Visible` has complex nested blocks (complexity: 8) (nestif)
|
|
Run on Ubuntu:
config/crd/update_openapi.go#L87
Error return value of `goyaml.Unmarshal` is not checked (errcheck)
|
|
Run on Ubuntu:
config/crd/update_openapi.go#L20
Function 'updateWMSV3Layers' has too many statements (43 > 40) (funlen)
|
|
Run on Ubuntu:
test/e2e/e2e_test.go#L219
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
|
|
Run on Ubuntu
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|