Skip to content

use Go 1.22 range over integers syntax #9639

use Go 1.22 range over integers syntax

use Go 1.22 range over integers syntax #9639

Triggered via pull request February 23, 2024 17:52
Status Failure
Total duration 3m 32s
Artifacts

prbuild.yaml

on: pull_request
build-image
0s
build-image
test-linux
0s
test-linux
test-osx
0s
test-osx
gateway-conformance
0s
gateway-conformance
Matrix: e2e
Matrix: upgrade
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: test/e2e/deployment.go#L988
cannot range over n (variable of type int) (typecheck)
lint: internal/featuretests/v3/route_test.go#L991
cannot range over 100 (untyped int constant) (typecheck)
lint: internal/sorter/sorter.go#L264
cannot range over len(lhsHeaderMatchConditions) (value of type int) (typecheck)
lint: internal/sorter/sorter.go#L274
cannot range over len(lhs.QueryParamMatchConditions) (value of type int) (typecheck)
lint: internal/sorter/sorter_test.go#L723
cannot range over 10 (untyped int constant) (typecheck)
lint: internal/xdscache/v3/route_test.go#L24
"github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/ext_authz/v3" imported as envoy_filter_http_ext_authz_v3 and not used (typecheck)
lint: test/e2e/bench/bench_test.go#L293
cannot range over numServices (variable of type int) (typecheck)
lint: test/e2e/gateway/response_header_modifier_test.go#L97
cannot range over 20 (untyped int constant) (typecheck)
lint: test/e2e/httpproxy/cookie_rewrite_test.go#L393
cannot range over 20 (untyped int constant) (typecheck)
lint: test/e2e/incluster/memory_usage_test.go#L56
cannot range over numChildren (untyped int constant 100) (typecheck)