Improve some comments

This commit is contained in:
Andrew Ayer 2024-05-24 09:08:17 -04:00
parent cd4d796a7c
commit 06ce937097
1 changed files with 3 additions and 2 deletions

View File

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