From c161d6564d755c0b6b4356ceff87fbd6a898b675 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 20 Jul 2020 15:11:08 +0200 Subject: [PATCH] api/types: omit empty DefaultAddressPools Signed-off-by: Sebastiaan van Stijn --- api/types/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/types/types.go b/api/types/types.go index 1500f1b7f4..55c90738c2 100644 --- a/api/types/types.go +++ b/api/types/types.go @@ -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 }