Browse Source

Update package imports

Matt Bolt 4 years ago
parent
commit
981976bb57
1 changed files with 2 additions and 2 deletions
  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
 // encoded under the given key. If none exist, or if parsing fails, an error
 // 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{}
 	for _, agg := range qp.GetList(key, ",") {
 		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) {
 	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
 	// compute allocation data.