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 committed Dec 13, 2024
1 parent 026bbec commit 16ccfc9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/embed/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ func (sctx *serveCtx) serve(
gopts ...grpc.ServerOption,
) (err error) {
logger := defaultLog.New(io.Discard, "etcdhttp", 0)
<-s.ReadyNotify()

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

0 comments on commit 16ccfc9

Please sign in to comment.