Skip to content

feat: add resourceVersion for pod, svc and eps #1436

feat: add resourceVersion for pod, svc and eps

feat: add resourceVersion for pod, svc and eps #1436

Triggered via pull request January 15, 2025 08:32
@Poor12Poor12
synchronize #353
Poor12:add-rv
Status Failure
Total duration 5m 39s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
lint: pkg/util/aggregatedlister/endpointSlice.go#L17
17-147 lines are duplicate of `pkg/util/aggregatedlister/pod.go:17-148` (dupl)
lint: pkg/util/aggregatedlister/service.go#L17
17-147 lines are duplicate of `pkg/util/aggregatedlister/endpointSlice.go:17-147` (dupl)
lint: pkg/registry/hpaaggregator/aggregation/forward/endpointSlice.go#L17
17-207 lines are duplicate of `pkg/registry/hpaaggregator/aggregation/forward/pod.go:17-209` (dupl)
lint: pkg/registry/hpaaggregator/aggregation/forward/service.go#L17
17-207 lines are duplicate of `pkg/registry/hpaaggregator/aggregation/forward/endpointSlice.go:17-207` (dupl)
lint: pkg/registry/hpaaggregator/metrics/resource/pod.go#L29
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/kubewharf/kubeadmiral) --custom-order (gci)
lint: pkg/registry/hpaaggregator/metrics/resource/pod.go#L131
G601: Implicit memory aliasing in for loop. (gosec)
lint: pkg/registry/hpaaggregator/metrics/resource/pod.go#L129
Consider pre-allocating `runtimeObjs` (prealloc)
lint: pkg/registry/hpaaggregator/metrics/resource/pod.go#L131
exporting a pointer for the loop variable pod (exportloopref)
lint: pkg/registry/hpaaggregator/aggregation/forward/endpointSlice.go#L127
SA5011: possible nil pointer dereference (staticcheck)
lint: pkg/registry/hpaaggregator/aggregation/forward/endpointSlice.go#L130
SA5011(related information): this check suggests that the pointer can be nil (staticcheck)
typos
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
verify-codegen
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (1.19)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (1.20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636