Improve test coverage

This commit is contained in:
TwinProduction
2021-01-10 00:24:31 -05:00
parent 1669f91a2d
commit 6f8a728c5f
2 changed files with 39 additions and 1 deletions

View File

@ -61,7 +61,6 @@ func handleAlertsToTrigger(service *core.Service, result *core.Result, cfg *conf
} else {
alert.Triggered = true
}
} else {
log.Printf("[watchdog][handleAlertsToResolve] Not sending alert of type=%s despite being TRIGGERED, because the provider wasn't configured properly", alert.Type)
}