mirror of https://github.com/status-im/consul.git
Merge pull request #2615 from ruslansennov/master
update `/v1/agent/service/register` endpoint doc
This commit is contained in:
commit
4cb00746fb
|
@ -477,7 +477,8 @@ information.
|
||||||
|
|
||||||
If `Check` is provided, only one of `Script`, `HTTP`, `TCP` or `TTL`
|
If `Check` is provided, only one of `Script`, `HTTP`, `TCP` or `TTL`
|
||||||
should be specified. `Script` and `HTTP` also require `Interval`. The
|
should be specified. `Script` and `HTTP` also require `Interval`. The
|
||||||
created check will be named `service:<ServiceId>`.
|
created check will be named `service:<ServiceId>`. The `Status` field
|
||||||
|
can be provided to specify the initial state of the health check.
|
||||||
|
|
||||||
In Consul 0.7 and later, checks that are associated with a service may
|
In Consul 0.7 and later, checks that are associated with a service may
|
||||||
also contain an optional `DeregisterCriticalServiceAfter` field, which
|
also contain an optional `DeregisterCriticalServiceAfter` field, which
|
||||||
|
|
Loading…
Reference in New Issue