Skip to content
Snippets Groups Projects
Commit 109411b9 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

Merge branch 'remove-run-loop' into 'develop'

remove run loop

See merge request !198
parents 2fe8453b d8034e02
No related branches found
No related tags found
Loading
Pipeline #81504 passed with warnings
......@@ -124,13 +124,11 @@ func Run(ctx context.Context) error {
return initError
}
log.WithFields(log.Fields{}).Info("initialisation finished")
for {
select {
case <-c.stopChan:
return shutdown()
case <-ctx.Done():
return shutdown()
}
select {
case <-c.stopChan:
return shutdown()
case <-ctx.Done():
return shutdown()
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment