Skip to content

Commit

Permalink
fix for 1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Sixeight committed Jun 23, 2015
1 parent f3d2576 commit cbc00b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func loop(c *context, termCh chan struct{}) int {

// fan-out termCh
go func() {
for range termCh {
for _ = range termCh {
termCheckerCh <- struct{}{}
termMetricsCh <- struct{}{}
}
Expand Down Expand Up @@ -426,7 +426,7 @@ func runCheckersLoop(c *context, termCheckerCh <-chan struct{}, quit <-chan stru
} else {
// consume termCheckerCh
go func() {
for range termCheckerCh {
for _ = range termCheckerCh {
}
}()
}
Expand Down

0 comments on commit cbc00b5

Please sign in to comment.