Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
Signed-off-by: Coleen Iona Quadros <[email protected]>
  • Loading branch information
coleenquadros committed Oct 18, 2023
1 parent ca1cbf5 commit 28835bb
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,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 {
Expand Down

0 comments on commit 28835bb

Please sign in to comment.