Skip to content

Commit 0c31a4c

Browse files
ahrtrjoshuazh-x
authored andcommitted
Remove duplicated <-s.ReadyNotify()
Signed-off-by: Benjamin Wang <[email protected]>
1 parent a3bd030 commit 0c31a4c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

embed/serve.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ func (sctx *serveCtx) serve(
9595
splitHttp bool,
9696
gopts ...grpc.ServerOption) (err error) {
9797
logger := defaultLog.New(ioutil.Discard, "etcdhttp", 0)
98-
<-s.ReadyNotify()
9998

10099
select {
101100
case <-s.StoppingNotify():

0 commit comments

Comments
 (0)