mirror of https://github.com/status-im/consul.git
Merge pull request #2088 from lihz1990/master
add tcp in service/register
This commit is contained in:
commit
802b29ab94
|
@ -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:\<ServiceId\>".
|
||||
There is more information about checks [here](/docs/agent/checks.html).
|
||||
|
||||
|
|
Loading…
Reference in New Issue