Fix retry_join config documentation (#4757)

'retry_join': source data must be an array or slice, got string
This commit is contained in:
Dan Brown 2018-10-05 19:16:02 +01:00 committed by Matt Keeler
parent 71297a6b9d
commit a10f1ce2df
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ Add the retry_join parameter to the `consul.hcl` configuration file:
~> **NOTE** Replace the `retry_join` parameter value with the correct DNS address, IP address or [cloud auto-join configuration](/docs/agent/cloud-auto-join.html) for your environment. ~> **NOTE** Replace the `retry_join` parameter value with the correct DNS address, IP address or [cloud auto-join configuration](/docs/agent/cloud-auto-join.html) for your environment.
```hcl ```hcl
retry_join = "172.16.0.11" retry_join = ["172.16.0.11"]
``` ```
- [`retry_join`](/docs/agent/options.html#retry-join) - Address of another agent to join upon starting up. - [`retry_join`](/docs/agent/options.html#retry-join) - Address of another agent to join upon starting up.