Give log reviewers a hint as to which check is failing
This commit is contained in:
parent
055b6973f6
commit
c90fc057d4
|
@ -1048,7 +1048,7 @@ func (a *Agent) UpdateCheck(checkID types.CheckID, status, output string) error
|
||||||
|
|
||||||
check, ok := a.checkTTLs[checkID]
|
check, ok := a.checkTTLs[checkID]
|
||||||
if !ok {
|
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
|
// Set the status through CheckTTL to reset the TTL
|
||||||
|
|
Loading…
Reference in a new issue