Browse Source

Remove references to the 'unknown' state.

- Remove reference to 'unknown' state in catalog endpoint docs
- Remove reference to 'unknown' state in health endpoint docs
pull/2351/head
Brian Shumate 8 years ago
parent
commit
2c9501a1b0
No known key found for this signature in database
GPG Key ID: B2E211633F870928
  1. 4
      website/source/docs/agent/http/catalog.html.markdown
  2. 2
      website/source/docs/agent/http/health.html.markdown

4
website/source/docs/agent/http/catalog.html.markdown

@ -88,9 +88,7 @@ The `CheckID` can be omitted and will default to the value of `Name`. As with `S
the `CheckID` must be unique on this node. `Notes` is an opaque field that is meant to
hold human-readable text. If a `ServiceID` is provided that matches the `ID`
of a service on that node, the check is treated as a service level health
check, instead of a node level health check. The `Status` must be one of
`unknown`, `passing`, `warning`, or `critical`. The `unknown` status is used
to indicate that the initial check has not been performed yet.
check, instead of a node level health check. The `Status` must be one of `passing`, `warning`, or `critical`.
Multiple checks can be provided by replacing `Check` with `Checks` and sending
an array of `Check` objects.

2
website/source/docs/agent/http/health.html.markdown

@ -179,7 +179,7 @@ the node list in ascending order based on the estimated round trip
time from that node. Passing "?near=_agent" will use the agent's
node for the sort.
The supported states are `any`, `unknown`, `passing`, `warning`, or `critical`.
The supported states are `any`, `passing`, `warning`, or `critical`.
The `any` state is a wildcard that can be used to return all checks.
It returns a JSON body like this:

Loading…
Cancel
Save