Skip to content

Commit a551501

Browse files
committed
.golangci.yml: Due to refactor of the resources from a var to a function
this uncovered a cyclomatic complexity 127 for podMetricFamilies.
1 parent 3b23d01 commit a551501

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ linters:
1818
linters-settings:
1919
goimports:
2020
local-prefixes: k8s.io/kube-state-metrics
21+
gocyclo:
22+
# temporary until we refactor the pod function
23+
min-complexity: 128
2124

2225
issues:
2326
exclude-use-default: false

0 commit comments

Comments
 (0)