瀏覽代碼

api/types: omit empty DefaultAddressPools

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 5 年之前
父節點
當前提交
c161d6564d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      api/types/types.go

+ 2 - 2
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
 }