consul/ uses structs.Health*, the api uses api.Health*

This commit is contained in:
Sean Chittenden 2016-04-23 16:06:58 -07:00
parent e63d3a1275
commit f1873c21d7

View File

@ -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