Browse Source

Give log reviewers a hint as to which check is failing

pull/2131/head
Sean Chittenden 9 years ago
parent
commit
112f3fd468
No known key found for this signature in database
GPG Key ID: 4EBC9DC16C2E5E16
  1. 2
      command/agent/agent.go

2
command/agent/agent.go

@ -1048,7 +1048,7 @@ func (a *Agent) UpdateCheck(checkID types.CheckID, status, output string) error
check, ok := a.checkTTLs[checkID]
if !ok {
return fmt.Errorf("CheckID does not have associated TTL")
return fmt.Errorf("CheckID %q does not have associated TTL", checkID)
}
// Set the status through CheckTTL to reset the TTL

Loading…
Cancel
Save