work on signal handling

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2024-10-25 01:09:25 +02:00
parent dde999d5c2
commit 32287da09e
4 changed files with 17 additions and 3 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ func ListenForEvents(ctx context.Context, cfg *config.Config, l log.Logger) erro
}
case <-ctx.Done():
l.Info().Msg("context cancelled")
return ctx.Err()
return nil
}
}
}