Explorar o código

Update package imports

Matt Bolt %!s(int64=5) %!d(string=hai) anos
pai
achega
981976bb57
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      pkg/costmodel/aggregation.go

+ 2 - 2
pkg/costmodel/aggregation.go

@@ -2113,7 +2113,7 @@ func (a *Accesses) AggregateCostModelHandler(w http.ResponseWriter, r *http.Requ
 // ParseAggregationProperties attempts to parse and return aggregation properties
 // ParseAggregationProperties attempts to parse and return aggregation properties
 // encoded under the given key. If none exist, or if parsing fails, an error
 // encoded under the given key. If none exist, or if parsing fails, an error
 // is returned with empty AllocationProperties.
 // is returned with empty AllocationProperties.
-func ParseAggregationProperties(qp util.QueryParams, key string) ([]string, error) {
+func ParseAggregationProperties(qp httputil.QueryParams, key string) ([]string, error) {
 	aggregateBy := []string{}
 	aggregateBy := []string{}
 	for _, agg := range qp.GetList(key, ",") {
 	for _, agg := range qp.GetList(key, ",") {
 		aggregate := strings.TrimSpace(agg)
 		aggregate := strings.TrimSpace(agg)
@@ -2134,7 +2134,7 @@ func ParseAggregationProperties(qp util.QueryParams, key string) ([]string, erro
 func (a *Accesses) ComputeAllocationHandler(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
 func (a *Accesses) ComputeAllocationHandler(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
 	w.Header().Set("Content-Type", "application/json")
 	w.Header().Set("Content-Type", "application/json")
 
 
-	qp := util.NewQueryParams(r.URL.Query())
+	qp := httputil.NewQueryParams(r.URL.Query())
 
 
 	// Window is a required field describing the window of time over which to
 	// Window is a required field describing the window of time over which to
 	// compute allocation data.
 	// compute allocation data.