Fix the kubeFmt

This commit is contained in:
Nikolai Rodionov 2024-04-03 20:35:32 +02:00
parent 4dc787f0e4
commit 1993d91624
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -45,7 +45,7 @@ func (e *EnvironemntData) providerFmt() string {
} }
func (e *EnvironemntData) kubernetesFmt() string { func (e *EnvironemntData) kubernetesFmt() string {
res := strings.Replace(e.Kubernetes, "KUBERNETES", "", -1) res := strings.Replace(e.Kubernetes, "KUBERNETES_", "", -1)
return strings.ToLower(res) return strings.ToLower(res)
} }