Skip to content

Commit

Permalink
Remove space in struct field tag.
Browse files Browse the repository at this point in the history
Golang v1.10 (and probably later) doesn't like spaces in the tag names.

Fixes CC-4129.
  • Loading branch information
jpeacock-zenoss committed Aug 24, 2018
1 parent 1c209f6 commit 2e1a597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics/performance.go
Expand Up @@ -101,7 +101,7 @@ type V2PerformanceData struct {

type V2ResultData struct {
Datapoints []V2Datapoint `json:"datapoints"`
Metric string `json:"metric, omitempty"`
Metric string `json:"metric,omitempty"`
Tags map[string]string `json:"tags,omitempty"`
}

Expand Down

0 comments on commit 2e1a597

Please sign in to comment.