fix(checks): os_service OK message in output

This commit is contained in:
Alessandro De Blasis 2022-09-21 09:27:33 +01:00
parent f440966a38
commit 5719fd6560
1 changed files with 1 additions and 0 deletions

View File

@ -1156,6 +1156,7 @@ func (c *CheckOSService) check() {
// The process returned before the timeout, proceed normally
}
out = fmt.Sprintf("Service \"%s\" is healthy", c.OSService)
if err != nil {
c.Logger.Debug("Check failed",
"check", c.CheckID.String(),