From 1794dc2e37fb6779d742a6b9fb0119e320c404d5 Mon Sep 17 00:00:00 2001 From: John Dietz Date: Sat, 21 Oct 2023 23:18:20 -0400 Subject: [PATCH] Update internal/controller/state.go Co-authored-by: Jared Edwards --- internal/controller/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controller/state.go b/internal/controller/state.go index 9a0d66f1..8e7fb171 100644 --- a/internal/controller/state.go +++ b/internal/controller/state.go @@ -127,7 +127,7 @@ func (clctrl *ClusterController) StateStoreCredentials() error { if err != nil { msg := fmt.Sprintf("error creating google bucket %s: %s", clctrl.KubefirstStateStoreBucketName, err) log.Error() - telemetry.SendCountMetric(clctrl.Telemetry, metrics.StateStoreCreateFailed, msg) + telemetry.SendCountMetric(clctrl.Telemetry, metrics.StateStoreCredentialsCreateFailed, msg) return fmt.Errorf(msg) }