- So that it complies with docker convention for inspect
Signed-off-by: Alessandro Boch <aboch@docker.com>
| ... | ... |
@@ -10,16 +10,16 @@ type Address struct {
|
| 10 | 10 |
|
| 11 | 11 |
// IPAM represents IP Address Management |
| 12 | 12 |
type IPAM struct {
|
| 13 |
- Driver string `json:"driver"` |
|
| 14 |
- Config []IPAMConfig `json:"config"` |
|
| 13 |
+ Driver string |
|
| 14 |
+ Config []IPAMConfig |
|
| 15 | 15 |
} |
| 16 | 16 |
|
| 17 | 17 |
// IPAMConfig represents IPAM configurations |
| 18 | 18 |
type IPAMConfig struct {
|
| 19 |
- Subnet string `json:"subnet,omitempty"` |
|
| 20 |
- IPRange string `json:"ip_range,omitempty"` |
|
| 21 |
- Gateway string `json:"gateway,omitempty"` |
|
| 22 |
- AuxAddress map[string]string `json:"auxiliary_address,omitempty"` |
|
| 19 |
+ Subnet string `json:",omitempty"` |
|
| 20 |
+ IPRange string `json:",omitempty"` |
|
| 21 |
+ Gateway string `json:",omitempty"` |
|
| 22 |
+ AuxAddress map[string]string `json:"AuxiliaryAddresses,omitempty"` |
|
| 23 | 23 |
} |
| 24 | 24 |
|
| 25 | 25 |
// Settings stores configuration details about the daemon network config |