Prechádzať zdrojové kódy

fix unneeded camelcasing on JSON endpoint

AjayTripathy 6 rokov pred
rodič
commit
9d478e9f45
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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:"-"`