Browse Source

Fix some syntax error

Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
(cherry picked from commit 18724726c24728c0dd2bdb4981254a100568185f)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
Yanqiang Miao 8 years ago
parent
commit
663ca540ea

+ 2 - 2
docs/reference/commandline/swarm_init.md

@@ -76,7 +76,7 @@ This flag sets the validity period for node certificates.
 
 
 ### `--dispatcher-heartbeat`
 ### `--dispatcher-heartbeat`
 
 
-This flags sets the frequency with which nodes are told to use as a
+This flag sets the frequency with which nodes are told to use as a
 period to report their health.
 period to report their health.
 
 
 ### `--external-ca`
 ### `--external-ca`
@@ -103,7 +103,7 @@ name, the default port 2377 will be used.
 
 
 This flag specifies the address that will be advertised to other members of the
 This flag specifies the address that will be advertised to other members of the
 swarm for API access and overlay networking. If unspecified, Docker will check
 swarm for API access and overlay networking. If unspecified, Docker will check
-if the system has a single IP address, and use that IP address with with the
+if the system has a single IP address, and use that IP address with the
 listening port (see `--listen-addr`). If the system has multiple IP addresses,
 listening port (see `--listen-addr`). If the system has multiple IP addresses,
 `--advertise-addr` must be specified so that the correct address is chosen for
 `--advertise-addr` must be specified so that the correct address is chosen for
 inter-manager communication and overlay networking.
 inter-manager communication and overlay networking.

+ 1 - 1
docs/reference/commandline/swarm_join.md

@@ -77,7 +77,7 @@ This flag is generally not necessary when joining an existing swarm.
 
 
 This flag specifies the address that will be advertised to other members of the
 This flag specifies the address that will be advertised to other members of the
 swarm for API access. If unspecified, Docker will check if the system has a
 swarm for API access. If unspecified, Docker will check if the system has a
-single IP address, and use that IP address with with the listening port (see
+single IP address, and use that IP address with the listening port (see
 `--listen-addr`). If the system has multiple IP addresses, `--advertise-addr`
 `--listen-addr`). If the system has multiple IP addresses, `--advertise-addr`
 must be specified so that the correct address is chosen for inter-manager
 must be specified so that the correct address is chosen for inter-manager
 communication and overlay networking.
 communication and overlay networking.