Browse code

Merge pull request #22756 from wangxing1517/fix_docs_dockerd.md

Fix incorrectly named "ip-mask" and "api-cors-headers" options

Vincent Demeester authored on 2016/05/25 01:21:52
Showing 3 changed files
... ...
@@ -88,7 +88,7 @@ type CommonConfig struct {
88 88
 	Root                 string              `json:"graph,omitempty"`
89 89
 	SocketGroup          string              `json:"group,omitempty"`
90 90
 	TrustKeyPath         string              `json:"-"`
91
-	CorsHeaders          string              `json:"api-cors-headers,omitempty"`
91
+	CorsHeaders          string              `json:"api-cors-header,omitempty"`
92 92
 	EnableCors           bool                `json:"api-enable-cors,omitempty"`
93 93
 
94 94
 	// ClusterStore is the storage backend used for the cluster information. It is used by both
... ...
@@ -41,7 +41,7 @@ type bridgeConfig struct {
41 41
 	EnableIPv6                  bool   `json:"ipv6,omitempty"`
42 42
 	EnableIPTables              bool   `json:"iptables,omitempty"`
43 43
 	EnableIPForward             bool   `json:"ip-forward,omitempty"`
44
-	EnableIPMasq                bool   `json:"ip-mask,omitempty"`
44
+	EnableIPMasq                bool   `json:"ip-masq,omitempty"`
45 45
 	EnableUserlandProxy         bool   `json:"userland-proxy,omitempty"`
46 46
 	DefaultIP                   net.IP `json:"ip,omitempty"`
47 47
 	IP                          string `json:"bip,omitempty"`
... ...
@@ -939,7 +939,7 @@ This is a full example of the allowed configuration options in the file:
939 939
 	"tlscacert": "",
940 940
 	"tlscert": "",
941 941
 	"tlskey": "",
942
-	"api-cors-headers": "",
942
+	"api-cors-header": "",
943 943
 	"selinux-enabled": false,
944 944
 	"userns-remap": "",
945 945
 	"group": "",
... ...
@@ -948,7 +948,7 @@ This is a full example of the allowed configuration options in the file:
948 948
 	"ipv6": false,
949 949
 	"iptables": false,
950 950
 	"ip-forward": false,
951
-	"ip-mask": false,
951
+	"ip-masq": false,
952 952
 	"userland-proxy": false,
953 953
 	"ip": "0.0.0.0",
954 954
 	"bridge": "",