Quellcode durchsuchen

fixed cleanup

fixed cleanup

Signed-off-by: Jason Charcalla <jason@kubecost.com>
Jason Charcalla vor 3 Jahren
Ursprung
Commit
347cb9392d
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  1. 1 2
      pkg/env/costmodelenv.go

+ 1 - 2
pkg/env/costmodelenv.go

@@ -477,6 +477,7 @@ func GetETLMaxPrometheusQueryDuration() time.Duration {
 	dayMins := 60 * 24
 	dayMins := 60 * 24
 	mins := time.Duration(GetInt64(ETLMaxPrometheusQueryDurationMinutes, int64(dayMins)))
 	mins := time.Duration(GetInt64(ETLMaxPrometheusQueryDurationMinutes, int64(dayMins)))
 	return mins * time.Minute
 	return mins * time.Minute
+}
 
 
 // GetETLResolution determines the resolution of ETL queries. The smaller the
 // GetETLResolution determines the resolution of ETL queries. The smaller the
 // duration, the higher the resolution; the higher the resolution, the more
 // duration, the higher the resolution; the higher the resolution, the more
@@ -487,8 +488,6 @@ func GetETLResolution() time.Duration {
 	secs := time.Duration(GetInt64(ETLResolutionSeconds, 300))
 	secs := time.Duration(GetInt64(ETLResolutionSeconds, 300))
 	return secs * time.Second
 	return secs * time.Second
 }
 }
-
-}
  
  
 func LegacyExternalCostsAPIDisabled() bool {
 func LegacyExternalCostsAPIDisabled() bool {
 	return GetBool(LegacyExternalAPIDisabledVar, false)
 	return GetBool(LegacyExternalAPIDisabledVar, false)