odpi / egeria-k8s-operator

Egeria Kubernetes operator
https://egeria.odpi.org
Apache License 2.0
10 stars 1 forks source link

Resolve code scanning bug reports #31

Closed planetf1 closed 2 years ago

planetf1 commented 2 years ago

Results from Sonatype Lift:

S1002
Fix rate: > 90%
should omit comparison to bool constant, can be simplified to requeue

 controllers/egeriaplatform_controller.go 130
 Staticcheck
Show Details
S1002
Fix rate: > 90%
should omit comparison to bool constant, can be simplified to requeue

 controllers/egeriaplatform_controller.go 121
 Staticcheck
Show Details
S1002
Fix rate: > 90%
should omit comparison to bool constant, can be simplified to requeue

 controllers/egeriaplatform_controller.go 88
 Staticcheck
Show Details
SA4006
Fix rate: > 90%
this value of requeue is never used

 controllers/egeriaplatform_controller.go 136
 Staticcheck
Show Details
G104
Fix rate: > 50%
Errors unhandled.

 controllers/egeriaplatform_controller.go 378
 GoSec
Show Details
G104
Fix rate: > 50%
Errors unhandled.

 controllers/egeriaplatform_controller.go 407
 GoSec
Show Details
ST1008
error should be returned as the last argument

 controllers/egeriaplatform_controller.go 278
 Staticcheck
Show Details
ST1008
error should be returned as the last argument

 controllers/egeriaplatform_controller.go 255
 Staticcheck
Show Details
ST1008
error should be returned as the last argument

 controllers/egeriaplatform_controller.go 243
 Staticcheck
Show Details
ST1008
error should be returned as the last argument

 controllers/egeriaplatform_controller.go 178
 Staticcheck
Show Details

See https://lift.sonatype.com/results/github.com/odpi/egeria-k8s-operator

planetf1 commented 2 years ago

All lift errors were recently fixed