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

remove run loop

parent 2fe8453b
Branches
Tags
7 merge requests!246Develop,!245Develop into Master,!244Master into develop2 into master,!219Draft: Testing,!214Test pipelines,!198remove run loop,!138Develop
Pipeline #81459 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