Browse code

api/types: omit empty DefaultAddressPools

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2020/07/20 22:11:08
Showing 1 changed files
... ...
@@ -210,8 +210,8 @@ type Info struct {
210 210
 	RuncCommit          Commit
211 211
 	InitCommit          Commit
212 212
 	SecurityOptions     []string
213
-	ProductLicense      string `json:",omitempty"`
214
-	DefaultAddressPools []NetworkAddressPool
213
+	ProductLicense      string               `json:",omitempty"`
214
+	DefaultAddressPools []NetworkAddressPool `json:",omitempty"`
215 215
 	Warnings            []string
216 216
 }
217 217