Skip to content

Commit

Permalink
Merge pull request #3062 from weaveworks/omitempty-idlist
Browse files Browse the repository at this point in the history
Set 'omitempty' on Node Adjacency
  • Loading branch information
bboreham authored Feb 18, 2018
2 parents 8bb79f0 + cb6edfe commit c879cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion report/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type Node struct {
Topology string `json:"topology,omitempty"`
Counters Counters `json:"counters,omitempty"`
Sets Sets `json:"sets,omitempty"`
Adjacency IDList `json:"adjacency"`
Adjacency IDList `json:"adjacency,omitempty"`
Controls NodeControls `json:"controls,omitempty"`
LatestControls NodeControlDataLatestMap `json:"latestControls,omitempty"`
Latest StringLatestMap `json:"latest,omitempty"`
Expand Down

0 comments on commit c879cc6

Please sign in to comment.