Skip to content

Commit

Permalink
pkg/chargeback: Don't exit after first promsum collection
Browse files Browse the repository at this point in the history
Extra return caused collection to only happen once, and was added when
refactoring the logic to fix operator shutdown hanging.
  • Loading branch information
Chance Zibolski committed May 15, 2018
1 parent 50e976b commit e2fd596
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/chargeback/promsum.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ func (c *Chargeback) runPromsumWorker(stopCh <-chan struct{}) {
return
case <-tickerCh:
c.collectPromsumDataWithDefaultTimeBounds(ctx, logger)
return
}
}
}()
Expand Down

0 comments on commit e2fd596

Please sign in to comment.