mirror of https://github.com/hashicorp/consul
consul/ uses structs.Health*, the api uses api.Health*
parent
e63d3a1275
commit
f1873c21d7
|
@ -255,7 +255,7 @@ func (a *Agent) updateTTL(checkID, note, status string) error {
|
||||||
|
|
||||||
// checkUpdate is the payload for a PUT for a check update.
|
// checkUpdate is the payload for a PUT for a check update.
|
||||||
type checkUpdate struct {
|
type checkUpdate struct {
|
||||||
// Status us one of the structs.Health* states: HealthPassing
|
// Status us one of the api.Health* states: HealthPassing
|
||||||
// ("passing"), HealthWarning ("warning"), or HealthCritical
|
// ("passing"), HealthWarning ("warning"), or HealthCritical
|
||||||
// ("critical").
|
// ("critical").
|
||||||
Status string
|
Status string
|
||||||
|
|
Loading…
Reference in New Issue