From 392c2605f37823ed8cdb0ad2d74f3feaff35ffe3 Mon Sep 17 00:00:00 2001 From: lihz Date: Fri, 3 Jun 2016 19:29:05 +0800 Subject: [PATCH] add tcp in service/register I found consul /service/register interface supprt TCP check as well. --- website/source/docs/agent/http/agent.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/agent/http/agent.html.markdown b/website/source/docs/agent/http/agent.html.markdown index dd41b1427a..451e10d531 100644 --- a/website/source/docs/agent/http/agent.html.markdown +++ b/website/source/docs/agent/http/agent.html.markdown @@ -408,7 +408,7 @@ an empty `Address` field for a service, use the `Address` field of the agent nod associated with that instance of the service, which is returned alongside the service information. -If `Check` is provided, only one of `Script`, `HTTP`, or `TTL` should be specified. +If `Check` is provided, only one of `Script`, `HTTP`, `TCP` or `TTL` should be specified. `Script` and `HTTP` also require `Interval`. The created check will be named "service:\". There is more information about checks [here](/docs/agent/checks.html).