Fix unmarshal issue (#3545)

If set to `"mtu": "1500"` will got an error:
```
unable to configure the Docker daemon with file /etc/docker/daemon.json: json: cannot unmarshal string into Go value of type int
```
That code can not unmarshal string into Go value of type int, I changed the type from string to int.
This commit is contained in:
Taio Jia
2017-06-13 08:02:40 +08:00
committed by Misty Stanley-Jones
parent 667306190c
commit a22db0902b

View File

@@ -36,7 +36,7 @@ following settings to configure the default bridge network:
"bip": "192.168.1.5/24",
"fixed-cidr": "10.20.0.0/16",
"fixed-cidr-v6": "2001:db8::/64",
"mtu": "1500",
"mtu": 1500,
"default-gateway": "10.20.1.1",
"default-gateway-v6": "2001:db8:abcd::89",
"dns": ["10.20.1.2","10.20.1.3"]