Remove 'SecondsOrDuration' for check_interval

Now requires an explicit duration unit. Eg. 30s
This commit is contained in:
Ian Fijolek
2023-04-19 15:31:12 -07:00
parent f3f7c215a7
commit a03f430d0e
5 changed files with 16 additions and 44 deletions
+1 -1
View File
@@ -120,6 +120,6 @@ func main() {
err = checkMonitors(&config)
slog.OnErrPanicf(err, "Error checking monitors")
time.Sleep(config.CheckInterval.Value())
time.Sleep(config.CheckInterval)
}
}