From 2c9501a1b07e0c43141db24e32729419480c0953 Mon Sep 17 00:00:00 2001 From: Brian Shumate Date: Wed, 21 Sep 2016 09:50:12 -0400 Subject: [PATCH] Remove references to the 'unknown' state. - Remove reference to 'unknown' state in catalog endpoint docs - Remove reference to 'unknown' state in health endpoint docs --- website/source/docs/agent/http/catalog.html.markdown | 4 +--- website/source/docs/agent/http/health.html.markdown | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/website/source/docs/agent/http/catalog.html.markdown b/website/source/docs/agent/http/catalog.html.markdown index 327daf9359..4112672622 100644 --- a/website/source/docs/agent/http/catalog.html.markdown +++ b/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. diff --git a/website/source/docs/agent/http/health.html.markdown b/website/source/docs/agent/http/health.html.markdown index 0825a1f47d..b32857a8c1 100644 --- a/website/source/docs/agent/http/health.html.markdown +++ b/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: