context.TODO
This commit is contained in:
parent
406eeb6c5e
commit
bcbfb9fd09
|
@ -284,7 +284,7 @@ func HandleSignals(cConfig *csconfig.Config) error {
|
||||||
|
|
||||||
csdaemon.Notify(csdaemon.Ready, logger)
|
csdaemon.Notify(csdaemon.Ready, logger)
|
||||||
|
|
||||||
ctx, cancel := context.WithCancel(context.Background())
|
ctx, cancel := context.WithCancel(context.TODO())
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
go watchdog(ctx, logger)
|
go watchdog(ctx, logger)
|
||||||
|
|
Loading…
Reference in a new issue