Skip to content

Commit

Permalink
Merge pull request etcd-io#19057 from ahrtr/ready_notify_20241213
Browse files Browse the repository at this point in the history
Remove duplicated <-s.ReadyNotify()
  • Loading branch information
ahrtr authored Dec 13, 2024
2 parents 026bbec 16ccfc9 commit 25dfc82
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 25dfc82

Please sign in to comment.