mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Modify IPAMConfig structure json tags
- So that it complies with docker convention for inspect Signed-off-by: Alessandro Boch <aboch@docker.com>
This commit is contained in:
parent
a154b95d06
commit
d795bc7d53
1 changed files with 6 additions and 6 deletions
|
@ -10,16 +10,16 @@ type Address struct {
|
||||||
|
|
||||||
// IPAM represents IP Address Management
|
// IPAM represents IP Address Management
|
||||||
type IPAM struct {
|
type IPAM struct {
|
||||||
Driver string `json:"driver"`
|
Driver string
|
||||||
Config []IPAMConfig `json:"config"`
|
Config []IPAMConfig
|
||||||
}
|
}
|
||||||
|
|
||||||
// IPAMConfig represents IPAM configurations
|
// IPAMConfig represents IPAM configurations
|
||||||
type IPAMConfig struct {
|
type IPAMConfig struct {
|
||||||
Subnet string `json:"subnet,omitempty"`
|
Subnet string `json:",omitempty"`
|
||||||
IPRange string `json:"ip_range,omitempty"`
|
IPRange string `json:",omitempty"`
|
||||||
Gateway string `json:"gateway,omitempty"`
|
Gateway string `json:",omitempty"`
|
||||||
AuxAddress map[string]string `json:"auxiliary_address,omitempty"`
|
AuxAddress map[string]string `json:"AuxiliaryAddresses,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Settings stores configuration details about the daemon network config
|
// Settings stores configuration details about the daemon network config
|
||||||
|
|
Loading…
Reference in a new issue