From 34914cb76cfba71b4ade6b48411b79f5fe378964 Mon Sep 17 00:00:00 2001 From: Blake Covarrubias Date: Sat, 2 Nov 2019 09:34:20 -0700 Subject: [PATCH] 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 --- website/source/api/agent/check.html.md | 2 +- website/source/api/agent/service.html.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/website/source/api/agent/check.html.md b/website/source/api/agent/check.html.md index 7e9778b28..691451a9d 100644 --- a/website/source/api/agent/check.html.md +++ b/website/source/api/agent/check.html.md @@ -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 } ``` diff --git a/website/source/api/agent/service.html.md b/website/source/api/agent/service.html.md index 9f264a8f4..ee73f8736 100644 --- a/website/source/api/agent/service.html.md +++ b/website/source/api/agent/service.html.md @@ -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,