Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit 007114d

Browse files
YujiOshimaDavid Chung
authored andcommitted
close stop chan in rollingupdate.go Stop func (#560)
Signed-off-by: YujiOshima <[email protected]>
1 parent 4808abd commit 007114d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/plugin/group/rollingupdate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,5 +159,5 @@ func (r *rollingupdate) Run(pollInterval time.Duration) error {
159159
}
160160

161161
func (r *rollingupdate) Stop() {
162-
r.stop <- true
162+
close(r.stop)
163163
}

0 commit comments

Comments
 (0)