aboutsummaryrefslogtreecommitdiff
path: root/internal/manager/manager.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/manager/manager.go')
-rw-r--r--internal/manager/manager.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/manager/manager.go b/internal/manager/manager.go
index 0f206b8..55e72c0 100644
--- a/internal/manager/manager.go
+++ b/internal/manager/manager.go
@@ -86,6 +86,9 @@ func (mgr *Manager) Run(ctx context.Context) error {
alertTicker := time.NewTicker(mgr.AlertDelay)
defer alertTicker.Stop()
+ if err := mgr.alertJob(); err != nil {
+ return fmt.Errorf("unable to run alert job: %v\n", err)
+ }
shutdown := false
for {