Handle exclusions as a distinct status (#248)

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2020-12-28 22:32:56 +01:00
committed by GitHub
parent 892fad6be1
commit 9819a73582
5 changed files with 11 additions and 2 deletions

View File

@@ -32,6 +32,7 @@ func (di *Diun) HealthchecksSuccess(entries *model.NotifEntries) {
* {{ .CountNew }} new tag(s) found
* {{ .CountUpdate }} tag(s) updated
* {{ .CountUnchange }} tag(s) unchanged
* {{ .CountSkip }} tag(s) skipped
* {{ .CountError }} tag(s) with error`))
if err := logsTpl.Execute(&logsBuf, entries); err != nil {
log.Error().Err(err).Msgf("Cannot create logs for Healthchecks success event")