check and build piraeus-operator #911
check-and-build.yml
on: push
golangci
1m 24s
checks
3m 28s
Annotations
10 errors and 11 warnings
golangci:
pkg/controller/linstorcontroller/linstorcontroller_controller.go#L154
Function 'reconcileSpec' has too many statements (59 > 40) (funlen)
|
golangci:
pkg/controller/linstorcontroller/linstorcontroller_controller.go#L291
Function 'reconcileControllers' has too many statements (56 > 40) (funlen)
|
golangci:
pkg/controller/linstorcontroller/linstorcontroller_controller.go#L433
Function 'reconcileLinstorStatus' has too many statements (42 > 40) (funlen)
|
golangci:
pkg/controller/linstorcontroller/linstorcontroller_controller.go#L660
Function 'newDeploymentForResource' is too long (274 > 120) (funlen)
|
golangci:
pkg/controller/linstorcontroller/linstorcontroller_controller_test.go#L18
Function 'TestNewConfigMapForPCS' is too long (169 > 120) (funlen)
|
golangci:
pkg/controller/linstorcsidriver/linstorcsidriver_controller.go#L179
Function 'reconcileResource' has too many statements (59 > 40) (funlen)
|
golangci:
pkg/controller/linstorcsidriver/linstorcsidriver_controller.go#L610
Function 'newCSINodeDaemonSet' is too long (216 > 120) (funlen)
|
golangci:
pkg/controller/linstorcsidriver/linstorcsidriver_controller.go#L829
Function 'newCSIControllerDeployment' is too long (245 > 120) (funlen)
|
golangci:
pkg/controller/linstorsatelliteset/linstorsatelliteset_controller.go#L159
Function 'reconcileSpec' has too many statements (45 > 40) (funlen)
|
golangci:
pkg/controller/linstorsatelliteset/linstorsatelliteset_controller.go#L323
Function 'reconcileResource' has too many statements (41 > 40) (funlen)
|
golangci:
pkg/k8s/spec/const.go#L30
var-naming: const LinstorHttpsCertDir should be LinstorHTTPSCertDir (revive)
|
golangci:
pkg/k8s/spec/const.go#L31
var-naming: const LinstorHttpsCertDirName should be LinstorHTTPSCertDirName (revive)
|
golangci:
pkg/k8s/spec/const.go#L32
var-naming: const LinstorHttpsCertPassword should be LinstorHTTPSCertPassword (revive)
|
golangci:
pkg/k8s/spec/const.go#L33
var-naming: const LinstorHttpsCertPemDir should be LinstorHTTPSCertPemDir (revive)
|
golangci:
pkg/k8s/spec/const.go#L34
var-naming: const LinstorHttpsCertPemDirName should be LinstorHTTPSCertPemDirName (revive)
|
golangci:
pkg/apis/piraeus/shared/linstor_types.go#L307
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
golangci:
pkg/apis/piraeus/shared/linstor_types.go#L315
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
golangci:
pkg/apis/piraeus/shared/linstor_types.go#L327
var-naming: struct field LinstorHttpsClientSecret should be LinstorHTTPSClientSecret (revive)
|
golangci:
pkg/apis/piraeus/v1/linstorcontroller_types.go#L74
var-naming: struct field LinstorHttpsControllerSecret should be LinstorHTTPSControllerSecret (revive)
|
golangci:
pkg/apis/piraeus/v1/linstorcontroller_types.go#L119
var-naming: struct field HttpBindAddress should be HTTPBindAddress (revive)
|
checks
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
|