Skip to content

Commit

Permalink
close stop chan in rollingupdate.go Stop func (docker-archive#560)
Browse files Browse the repository at this point in the history
Signed-off-by: YujiOshima <[email protected]>
  • Loading branch information
YujiOshima authored and David Chung committed May 24, 2017
1 parent 4808abd commit 007114d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/plugin/group/rollingupdate.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,5 +159,5 @@ func (r *rollingupdate) Run(pollInterval time.Duration) error {
}

func (r *rollingupdate) Stop() {
r.stop <- true
close(r.stop)
}

0 comments on commit 007114d

Please sign in to comment.