better log message
All checks were successful
Pipeline was successful

This commit is contained in:
2023-11-13 21:21:58 +01:00
parent 48b4b273ee
commit 174c40c72c
2 changed files with 5 additions and 2 deletions

View File

@ -100,7 +100,7 @@ func main() {
if len(ownedNodes) == 0 {
log.WithFields(log.Fields{
"Caller": "Main",
}).Infof("Nothing running and not owning any nodes. Recheck in %d", cfg.CheckInterval)
}).Info("Nothing running and not owning any nodes")
} else {
log.WithFields(log.Fields{
"Caller": "Main",
@ -122,6 +122,9 @@ func main() {
}
}
}
log.WithFields(log.Fields{
"Caller": "Main",
}).Infof("Recheck in %d", cfg.CheckInterval)
time.Sleep(time.Duration(cfg.CheckInterval) * time.Minute)
}
}