From 3070acb5073f857f8494b975fe7af37ad094f967 Mon Sep 17 00:00:00 2001 From: Adrian Berger Date: Tue, 22 Aug 2023 12:32:23 +0000 Subject: [PATCH] fix(customresourcestate): typo in Error message Signed-off-by: Adrian Berger --- pkg/customresourcestate/registry_factory.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/customresourcestate/registry_factory.go b/pkg/customresourcestate/registry_factory.go index 7ed4afd004..27db2ffe3c 100644 --- a/pkg/customresourcestate/registry_factory.go +++ b/pkg/customresourcestate/registry_factory.go @@ -196,7 +196,7 @@ func newCompiledMetric(m Metric) (compiledMetric, error) { } valueFromPath, err := compilePath(m.StateSet.ValueFrom) if err != nil { - return nil, fmt.Errorf("each.gauge.valueFrom: %w", err) + return nil, fmt.Errorf("each.stateSet.valueFrom: %w", err) } return &compiledStateSet{ compiledCommon: *cc,