docs: Rename TTL to Timeout in Script/TCP checks

TTL and Interval options were made mutually exclusive in
https://github.com/hashicorp/consul/pull/3560.

Change to Timeout, which is a correct parameter for HTTP, Script, and
TCP checks.

Resolves #6343
This commit is contained in:
Blake Covarrubias 2019-11-02 09:34:20 -07:00 committed by Blake Covarrubias
parent aed5cb7669
commit e42ff8dd76
2 changed files with 2 additions and 3 deletions

View File

@ -224,7 +224,7 @@ The table below shows this endpoint's support for
"Header": {"x-foo":["bar", "baz"]},
"TCP": "example.com:22",
"Interval": "10s",
"TTL": "15s",
"Timeout": "5s",
"TLSSkipVerify": true
}
```

View File

@ -610,9 +610,8 @@ For the `Connect` field, the parameters are:
"Check": {
"DeregisterCriticalServiceAfter": "90m",
"Args": ["/usr/local/bin/check_redis.py"],
"HTTP": "http://localhost:5000/health",
"Interval": "10s",
"TTL": "15s"
"Timeout": "5s"
},
"Weights": {
"Passing": 10,