Merge pull request #14475 from zhulongcheng/fix-json-omitempty

fix(influxdb): rename json option "omitEmpty" to "omitempty"
pull/14495/head
kelwang 2019-07-29 11:40:27 -04:00 committed by GitHub
commit 13d2b8df66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -630,7 +630,7 @@ type HistogramViewProperties struct {
ViewColors []ViewColor `json:"colors"`
XColumn string `json:"xColumn"`
FillColumns []string `json:"fillColumns"`
XDomain []float64 `json:"xDomain,omitEmpty"`
XDomain []float64 `json:"xDomain,omitempty"`
XAxisLabel string `json:"xAxisLabel"`
Position string `json:"position"`
BinCount int `json:"binCount"`
@ -646,8 +646,8 @@ type HeatmapViewProperties struct {
BinSize int32 `json:"binSize"`
XColumn string `json:"xColumn"`
YColumn string `json:"yColumn"`
XDomain []float64 `json:"xDomain,omitEmpty"`
YDomain []float64 `json:"yDomain,omitEmpty"`
XDomain []float64 `json:"xDomain,omitempty"`
YDomain []float64 `json:"yDomain,omitempty"`
XAxisLabel string `json:"xAxisLabel"`
YAxisLabel string `json:"yAxisLabel"`
XPrefix string `json:"xPrefix"`
@ -667,8 +667,8 @@ type ScatterViewProperties struct {
SymbolColumns []string `json:"symbolColumns"`
XColumn string `json:"xColumn"`
YColumn string `json:"yColumn"`
XDomain []float64 `json:"xDomain,omitEmpty"`
YDomain []float64 `json:"yDomain,omitEmpty"`
XDomain []float64 `json:"xDomain,omitempty"`
YDomain []float64 `json:"yDomain,omitempty"`
XAxisLabel string `json:"xAxisLabel"`
YAxisLabel string `json:"yAxisLabel"`
XPrefix string `json:"xPrefix"`