fixup inspect container struct

This commit is contained in:
Jesse Duffield 2019-06-22 14:29:13 +10:00
parent 7bd7eed2a3
commit 00f05ae012

View file

@ -225,8 +225,7 @@ type Details struct {
IPPrefixLen int `json:"IPPrefixLen"` IPPrefixLen int `json:"IPPrefixLen"`
IPv6Gateway string `json:"IPv6Gateway"` IPv6Gateway string `json:"IPv6Gateway"`
MacAddress string `json:"MacAddress"` MacAddress string `json:"MacAddress"`
Networks struct { Networks map[string]struct {
ApdevDefault struct {
IPAMConfig interface{} `json:"IPAMConfig"` IPAMConfig interface{} `json:"IPAMConfig"`
Links interface{} `json:"Links"` Links interface{} `json:"Links"`
Aliases []string `json:"Aliases"` Aliases []string `json:"Aliases"`
@ -240,7 +239,6 @@ type Details struct {
GlobalIPv6PrefixLen int `json:"GlobalIPv6PrefixLen"` GlobalIPv6PrefixLen int `json:"GlobalIPv6PrefixLen"`
MacAddress string `json:"MacAddress"` MacAddress string `json:"MacAddress"`
DriverOpts interface{} `json:"DriverOpts"` DriverOpts interface{} `json:"DriverOpts"`
} `json:"apdev_default"`
} `json:"Networks"` } `json:"Networks"`
} `json:"NetworkSettings"` } `json:"NetworkSettings"`
} }