mirror of
https://github.com/status-im/consul.git
synced 2025-01-22 19:50:36 +00:00
consul/ uses structs.Health*, the api uses api.Health*
This commit is contained in:
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…
x
Reference in New Issue
Block a user