From e2bb9556737a95879dc8b32b1c7556c5eb11756e Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Mon, 7 May 2018 16:11:39 -0400 Subject: [PATCH] Revert "Close the doneCh in the renewer when we return from Renew. (#4513)" This reverts commit 79c708f8b6df13766830d4690e3688ccb49dc335. --- api/renewer.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/renewer.go b/api/renewer.go index 4a79540bb..7fd1de7db 100644 --- a/api/renewer.go +++ b/api/renewer.go @@ -166,8 +166,6 @@ func (r *Renewer) Renew() { result = r.renewLease() } - defer close(r.doneCh) - select { case r.doneCh <- result: case <-r.stopCh: