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 7f7c320746
commit 6471184754
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(),