Просмотр исходного кода

fix unneeded camelcasing on JSON endpoint

AjayTripathy 6 лет назад
Родитель
Сommit
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:"-"`