Просмотр исходного кода

Fixed invalid Get calls from previous mis-merge

Signed-off-by: Matt Ray <github@mattray.dev>
Matt Ray 2 лет назад
Родитель
Сommit
fb14f7e467
1 измененных файлов с 2 добавлено и 2 удалено
  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 {