From 538cd310e955c67d639bcc91695d6a893188c2ac Mon Sep 17 00:00:00 2001 From: Coleen Iona Quadros Date: Wed, 18 Oct 2023 23:16:41 +0200 Subject: [PATCH] typo Signed-off-by: Coleen Iona Quadros --- .../pkg/servicemonitor/sm_controller.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/operators/multiclusterobservability/pkg/servicemonitor/sm_controller.go b/operators/multiclusterobservability/pkg/servicemonitor/sm_controller.go index d45dab10c..8b32ca235 100644 --- a/operators/multiclusterobservability/pkg/servicemonitor/sm_controller.go +++ b/operators/multiclusterobservability/pkg/servicemonitor/sm_controller.go @@ -23,21 +23,21 @@ import ( ) const ( - ocpMonitoringNamespace = "open-cluster-management-observability" - metricsNamePrefix = "acm_" + metricsNamePrefix = "acm_" ) var ( + ocpMonitoringNamespace = config.GetDefaultNamespace() log = logf.Log.WithName("sm_controller") - isSmControllerRunnning = false + isSmControllerRunning = false ) func Start() { - if isSmControllerRunnning { + if isSmControllerRunning { return } - isSmControllerRunnning = true + isSmControllerRunning = true promClient, err := promclientset.NewForConfig(ctrl.GetConfigOrDie()) if err != nil {