From cb6edfeec15659858e7dcdfbe7808cbc4a12f9d3 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Wed, 7 Feb 2018 13:39:54 +0000 Subject: [PATCH] Set 'omitempty' on Node Adjacency Looks like an omission --- report/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report/node.go b/report/node.go index 28386e3e6..5fabaa55a 100644 --- a/report/node.go +++ b/report/node.go @@ -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"`