Преглед изворни кода

Switch Asset query options to v2.1 filters

Signed-off-by: Michael Dresser <michaelmdresser@gmail.com>
Michael Dresser пре 3 година
родитељ
комит
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
 	DisableAdjustments      bool
 	DisableAggregatedStores bool
-	FilterFuncs             []AssetMatchFunc
+	Filter                  filter21.Filter
 	IncludeCloud            bool
 	SharedHourlyCosts       map[string]float64
 	Step                    time.Duration