Explorar o código

Switch Asset query options to v2.1 filters

Signed-off-by: Michael Dresser <michaelmdresser@gmail.com>
Michael Dresser %!s(int64=3) %!d(string=hai) anos
pai
achega
a90d03c818
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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