From 06ce9370972508beede3b03d37dac740732ae70e Mon Sep 17 00:00:00 2001 From: Andrew Ayer Date: Fri, 24 May 2024 09:08:17 -0400 Subject: [PATCH] Improve some comments --- monitor/state.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/monitor/state.go b/monitor/state.go index 6595988..48097e4 100644 --- a/monitor/state.go +++ b/monitor/state.go @@ -61,7 +61,8 @@ type StateProvider interface { // feailure is not associated with a log. NotifyHealthCheckFailure(context.Context, *loglist.Log, HealthCheckFailure) error - // Called when an error occurs. The log is nil if the error is - // not associated with a log. Note that most errors are transient. + // Called when a non-fatal error occurs. The log is nil if the error is + // not associated with a log. Note that most errors are transient, and + // certspotter will retry the failed operation later. NotifyError(context.Context, *loglist.Log, error) error }