Kaynağa Gözat

Switch Asset query options to v2.1 filters

Signed-off-by: Michael Dresser <michaelmdresser@gmail.com>
Michael Dresser 3 yıl önce
ebeveyn
işleme
a90d03c818
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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