Revert "Close the doneCh in the renewer when we return from Renew. (#4513)"
This reverts commit 79c708f8b6df13766830d4690e3688ccb49dc335.
This commit is contained in:
parent
2cc4f20f18
commit
e2bb955673
|
@ -166,8 +166,6 @@ func (r *Renewer) Renew() {
|
|||
result = r.renewLease()
|
||||
}
|
||||
|
||||
defer close(r.doneCh)
|
||||
|
||||
select {
|
||||
case r.doneCh <- result:
|
||||
case <-r.stopCh:
|
||||
|
|
Loading…
Reference in New Issue