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

fixed cleanup

fixed cleanup

Signed-off-by: Jason Charcalla <jason@kubecost.com>
Jason Charcalla 3 лет назад
Родитель
Сommit
347cb9392d
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      pkg/env/costmodelenv.go

+ 1 - 2
pkg/env/costmodelenv.go

@@ -477,6 +477,7 @@ func GetETLMaxPrometheusQueryDuration() time.Duration {
 	dayMins := 60 * 24
 	mins := time.Duration(GetInt64(ETLMaxPrometheusQueryDurationMinutes, int64(dayMins)))
 	return mins * time.Minute
+}
 
 // GetETLResolution determines the resolution of ETL queries. The smaller the
 // 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))
 	return secs * time.Second
 }
-
-}
  
 func LegacyExternalCostsAPIDisabled() bool {
 	return GetBool(LegacyExternalAPIDisabledVar, false)