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

Switch Asset query options to v2.1 filters

Signed-off-by: Michael Dresser <michaelmdresser@gmail.com>
Michael Dresser 2 лет назад
Родитель
Сommit
a90d03c818
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pkg/kubecost/query.go

+ 1 - 1
pkg/kubecost/query.go

@@ -75,7 +75,7 @@ type AssetQueryOptions struct {
 	Compute                 bool
 	Compute                 bool
 	DisableAdjustments      bool
 	DisableAdjustments      bool
 	DisableAggregatedStores bool
 	DisableAggregatedStores bool
-	FilterFuncs             []AssetMatchFunc
+	Filter                  filter21.Filter
 	IncludeCloud            bool
 	IncludeCloud            bool
 	SharedHourlyCosts       map[string]float64
 	SharedHourlyCosts       map[string]float64
 	Step                    time.Duration
 	Step                    time.Duration