Procházet zdrojové kódy

Fixed invalid Get calls from previous mis-merge

Signed-off-by: Matt Ray <github@mattray.dev>
Matt Ray před 2 roky
rodič
revize
fb14f7e467
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      pkg/env/costmodelenv.go

+ 2 - 2
pkg/env/costmodelenv.go

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