mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
Give log reviewers a hint as to which check is failing
This commit is contained in:
parent
af30e17dcd
commit
112f3fd468
@ -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…
x
Reference in New Issue
Block a user