Explorar o código

Fixed invalid Get calls from previous mis-merge

Signed-off-by: Matt Ray <github@mattray.dev>
Matt Ray %!s(int64=2) %!d(string=hai) anos
pai
achega
fb14f7e467
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      pkg/env/costmodelenv.go

+ 2 - 2
pkg/env/costmodelenv.go

@@ -618,7 +618,7 @@ func GetDataRetentionDailyResolutionDays() int64 {
 }
 
 func IsKubernetesEnabled() bool {
-	return Get(KubernetesEnabledEnvVar, "") != ""
+	return env.Get(KubernetesEnabledEnvVar, "") != ""
 }
 
 func IsCloudCostEnabled() bool {
@@ -626,7 +626,7 @@ func IsCloudCostEnabled() bool {
 }
 
 func GetCloudCostConfigPath() string {
-	return Get(CloudCostConfigPath, "cloud-integration.json")
+	return env.Get(CloudCostConfigPath, "cloud-integration.json")
 }
 
 func GetCloudCostMonthToDateInterval() int {