From 18724726c24728c0dd2bdb4981254a100568185f Mon Sep 17 00:00:00 2001 From: Yanqiang Miao Date: Fri, 25 Nov 2016 10:03:28 +0800 Subject: [PATCH] Fix some syntax error Signed-off-by: Yanqiang Miao --- docs/reference/commandline/swarm_init.md | 4 ++-- docs/reference/commandline/swarm_join.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/commandline/swarm_init.md b/docs/reference/commandline/swarm_init.md index 3a98ee9dad..84d3f4ba48 100644 --- a/docs/reference/commandline/swarm_init.md +++ b/docs/reference/commandline/swarm_init.md @@ -76,7 +76,7 @@ This flag sets the validity period for node certificates. ### `--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. ### `--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 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, `--advertise-addr` must be specified so that the correct address is chosen for inter-manager communication and overlay networking. diff --git a/docs/reference/commandline/swarm_join.md b/docs/reference/commandline/swarm_join.md index 9b7be1c553..7753a48731 100644 --- a/docs/reference/commandline/swarm_join.md +++ b/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 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` must be specified so that the correct address is chosen for inter-manager communication and overlay networking.