api/types: omit empty DefaultAddressPools

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2020-07-20 15:11:08 +02:00
parent f71244422b
commit c161d6564d
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

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