Skip to content

Commit

Permalink
Remove duplicated <-s.ReadyNotify()
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Wang <[email protected]>
  • Loading branch information
ahrtr authored and joshuazh-x committed Jan 10, 2025
1 parent a3bd030 commit 0c31a4c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion embed/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ func (sctx *serveCtx) serve(
splitHttp bool,
gopts ...grpc.ServerOption) (err error) {
logger := defaultLog.New(ioutil.Discard, "etcdhttp", 0)
<-s.ReadyNotify()

select {
case <-s.StoppingNotify():
Expand Down

0 comments on commit 0c31a4c

Please sign in to comment.