瀏覽代碼

fix unneeded camelcasing on JSON endpoint

AjayTripathy 7 年之前
父節點
當前提交
9d478e9f45
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      costmodel/aggregations.go

+ 1 - 1
costmodel/aggregations.go

@@ -8,7 +8,7 @@ import (
 
 type Aggregation struct {
 	Aggregator         string    `json:"aggregator"`
-	AggregatorSubField string    `json:"aggregatorSubField"`
+	AggregatorSubField string    `json:"aggregatorSubfield"`
 	Environment        string    `json:"environment"`
 	Cluster            string    `json:"cluster"`
 	CPUAllocation      []*Vector `json:"-"`