consul/ uses structs.Health*, the api uses api.Health*
This commit is contained in:
parent
65f9017c63
commit
5bc4a2c2ab
|
@ -255,7 +255,7 @@ func (a *Agent) updateTTL(checkID, note, status string) error {
|
|||
|
||||
// checkUpdate is the payload for a PUT for a check update.
|
||||
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
|
||||
// ("critical").
|
||||
Status string
|
||||
|
|
Loading…
Reference in New Issue