Fix CVE #3
observer-operator-ci.yml
on: pull_request
Matrix: Test Observer Operator
Build Observer Operator
0s
Annotations
10 errors
|
Test Observer Operator (1.23)
rangeValCopy: each iteration copies 1120 bytes (consider pointers or indexing) (gocritic)
|
|
Test Observer Operator (1.23)
rangeValCopy: each iteration copies 384 bytes (consider pointers or indexing) (gocritic)
|
|
Test Observer Operator (1.23)
rangeValCopy: each iteration copies 384 bytes (consider pointers or indexing) (gocritic)
|
|
Test Observer Operator (1.23)
rangeValCopy: each iteration copies 256 bytes (consider pointers or indexing) (gocritic)
|
|
Test Observer Operator (1.23)
rangeValCopy: each iteration copies 384 bytes (consider pointers or indexing) (gocritic)
|
|
Test Observer Operator (1.23)
appendAssign: append result not assigned to the same slice (gocritic)
|
|
Test Observer Operator (1.23)
paramTypeCombine: func(ns string, name string, route *routev1.Route, obs *sdiv1alpha1.SDIObserver, ctx context.Context) error could be replaced with func(ns, name string, route *routev1.Route, obs *sdiv1alpha1.SDIObserver, ctx context.Context) error (gocritic)
|
|
Test Observer Operator (1.23)
paramTypeCombine: func(ns string, name string, routeFile string, svcName string, route *routev1.Route, obs *sdiv1alpha1.SDIObserver, ctx context.Context, handleCA bool) error could be replaced with func(ns, name, routeFile, svcName string, route *routev1.Route, obs *sdiv1alpha1.SDIObserver, ctx context.Context, handleCA bool) error (gocritic)
|
|
Test Observer Operator (1.23)
paramTypeCombine: func(ns string, name string, managementState sdiv1alpha1.RouteManagementState, routeFile string, svcName string, obs *sdiv1alpha1.SDIObserver, ctx context.Context, handleCA bool) error could be replaced with func(ns, name string, managementState sdiv1alpha1.RouteManagementState, routeFile, svcName string, obs *sdiv1alpha1.SDIObserver, ctx context.Context, handleCA bool) error (gocritic)
|
|
Test Observer Operator (1.23)
ifElseChain: rewrite if-else to switch statement (gocritic)
|