Browse Source

api/types: omit empty DefaultAddressPools

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 5 years ago
parent
commit
c161d6564d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      api/types/types.go

+ 2 - 2
api/types/types.go

@@ -210,8 +210,8 @@ type Info struct {
 	RuncCommit          Commit
 	RuncCommit          Commit
 	InitCommit          Commit
 	InitCommit          Commit
 	SecurityOptions     []string
 	SecurityOptions     []string
-	ProductLicense      string `json:",omitempty"`
-	DefaultAddressPools []NetworkAddressPool
+	ProductLicense      string               `json:",omitempty"`
+	DefaultAddressPools []NetworkAddressPool `json:",omitempty"`
 	Warnings            []string
 	Warnings            []string
 }
 }