Skip to content
Snippets Groups Projects

remove run loop

Merged Ghost User requested to merge remove-run-loop into develop
1 file
+ 5
7
Compare changes
  • Side-by-side
  • Inline
+ 5
7
@@ -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()
}
}
Loading