We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
make lint
1 parent 77dfe92 commit 906b19dCopy full SHA for 906b19d
1 file changed
pkg/manifests/manifests.go
@@ -773,7 +773,7 @@ func (f *Factory) KubeStateMetricsDeployment(enableCRSMetrics bool) (*appsv1.Dep
773
allowListValidator := ksmpkg.LabelsAllowList{}
774
err = allowListValidator.Set(*additionalAllowList)
775
if err != nil {
776
- return nil, fmt.Errorf("error parsing allowlist: %v", err)
+ return nil, fmt.Errorf("error parsing allowlist: %w", err)
777
}
778
for i = range container.Args {
779
if strings.HasPrefix(container.Args[i], "--metric-labels-allowlist=") {
0 commit comments