Skip to content

Fix CVE

Fix CVE #3

Triggered via pull request August 11, 2025 11:14
@mjiaomjiao
synchronize #47
mjiao:fix-cve
Status Failure
Total duration 3m 0s
Artifacts

observer-operator-ci.yml

on: pull_request
Matrix: Test Observer Operator
Build Observer Operator
0s
Build Observer Operator
Fit to window
Zoom out
Zoom in

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)