From 1993d91624f1ba49f1e6014bc662698ef93298ee Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Wed, 3 Apr 2024 20:35:32 +0200 Subject: [PATCH] Fix the kubeFmt --- internal/controllers/environments.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controllers/environments.go b/internal/controllers/environments.go index ecdb75e..b8d41b8 100644 --- a/internal/controllers/environments.go +++ b/internal/controllers/environments.go @@ -45,7 +45,7 @@ func (e *EnvironemntData) providerFmt() string { } func (e *EnvironemntData) kubernetesFmt() string { - res := strings.Replace(e.Kubernetes, "KUBERNETES", "", -1) + res := strings.Replace(e.Kubernetes, "KUBERNETES_", "", -1) return strings.ToLower(res) }