feat: validate stable metrics via static analysis, which adapts codes from k/k stable metrics framework #2934
ci.yml
on: pull_request
ci-go-lint
1m 46s
ci-validate-manifests
10s
ci-validate-go-modules
12s
ci-validate-docs
55s
ci-unit-tests
1m 31s
ci-rule-tests
5s
ci-benchmark-tests
3m 37s
ci-build-kube-state-metrics
1m 10s
ci-e2e-tests
5m 36s
ci-validate-stable-metrics
10s
Annotations
3 errors
ci-go-lint:
tests/stablemetrics/decode_metric.go#L105
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
ci-go-lint:
tests/stablemetrics/decode_metric.go#L132
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
ci-go-lint
Process completed with exit code 2.
|