check and build piraeus-operator #914
Annotations
10 errors and 11 warnings
golangci-lint:
pkg/controller/linstorcsidriver/linstorcsidriver_controller.go#L179
Function 'reconcileResource' has too many statements (59 > 40) (funlen)
|
golangci-lint:
pkg/controller/linstorcsidriver/linstorcsidriver_controller.go#L610
Function 'newCSINodeDaemonSet' is too long (216 > 120) (funlen)
|
golangci-lint:
pkg/controller/linstorcsidriver/linstorcsidriver_controller.go#L829
Function 'newCSIControllerDeployment' is too long (245 > 120) (funlen)
|
golangci-lint:
pkg/controller/linstorcontroller/linstorcontroller_controller.go#L154
Function 'reconcileSpec' has too many statements (59 > 40) (funlen)
|
golangci-lint:
pkg/controller/linstorcontroller/linstorcontroller_controller.go#L291
Function 'reconcileControllers' has too many statements (56 > 40) (funlen)
|
golangci-lint:
pkg/controller/linstorcontroller/linstorcontroller_controller.go#L433
Function 'reconcileLinstorStatus' has too many statements (42 > 40) (funlen)
|
golangci-lint:
pkg/controller/linstorcontroller/linstorcontroller_controller.go#L660
Function 'newDeploymentForResource' is too long (274 > 120) (funlen)
|
golangci-lint:
pkg/controller/linstorcontroller/linstorcontroller_controller_test.go#L18
Function 'TestNewConfigMapForPCS' is too long (169 > 120) (funlen)
|
golangci-lint:
pkg/controller/linstorsatelliteset/linstorsatelliteset_controller.go#L159
Function 'reconcileSpec' has too many statements (45 > 40) (funlen)
|
golangci-lint:
pkg/controller/linstorsatelliteset/linstorsatelliteset_controller.go#L323
Function 'reconcileResource' has too many statements (41 > 40) (funlen)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
golangci-lint:
pkg/k8s/spec/const.go#L30
var-naming: const LinstorHttpsCertDir should be LinstorHTTPSCertDir (revive)
|
golangci-lint:
pkg/k8s/spec/const.go#L31
var-naming: const LinstorHttpsCertDirName should be LinstorHTTPSCertDirName (revive)
|
golangci-lint:
pkg/k8s/spec/const.go#L32
var-naming: const LinstorHttpsCertPassword should be LinstorHTTPSCertPassword (revive)
|
golangci-lint:
pkg/k8s/spec/const.go#L33
var-naming: const LinstorHttpsCertPemDir should be LinstorHTTPSCertPemDir (revive)
|
golangci-lint:
pkg/k8s/spec/const.go#L34
var-naming: const LinstorHttpsCertPemDirName should be LinstorHTTPSCertPemDirName (revive)
|
golangci-lint:
pkg/apis/piraeus/shared/linstor_types.go#L327
var-naming: struct field LinstorHttpsClientSecret should be LinstorHTTPSClientSecret (revive)
|
golangci-lint:
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-lint:
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-lint:
pkg/apis/piraeus/v1/linstorcontroller_types.go#L74
var-naming: struct field LinstorHttpsControllerSecret should be LinstorHTTPSControllerSecret (revive)
|
golangci-lint:
pkg/apis/piraeus/v1/linstorcontroller_types.go#L119
var-naming: struct field HttpBindAddress should be HTTPBindAddress (revive)
|
Loading