Skip to content

Commit

Permalink
Merge pull request #228 from xigang/master
Browse files Browse the repository at this point in the history
gofmt pkg/manager/manager.go
  • Loading branch information
k8s-ci-robot authored Mar 15, 2019
2 parents ea4d74a + 387b1cd commit 3630a1d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ func (rm *Manager) RunUntil(stopCh <-chan struct{}) {

for {
select {
case startTime := <-ticker.C:
rm.Collect(startTime)
case <-stopCh:
return
case startTime := <-ticker.C:
rm.Collect(startTime)
case <-stopCh:
return
}
}
}()
}
}()
}

func (rm *Manager) Collect(startTime time.Time) {
Expand Down

0 comments on commit 3630a1d

Please sign in to comment.