Refactor rollout advancement

This commit is contained in:
Stefan Prodan
2018-09-25 13:30:07 +03:00
parent da2b6c85aa
commit b9309703e0
3 changed files with 137 additions and 66 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ func (c *Controller) Run(threadiness int, stopCh <-chan struct{}) error {
for {
select {
case <-tickChan:
c.doRollout()
c.doRollouts()
case <-stopCh:
c.logger.Info("Shutting down workers")
return nil