Skip to content

Commit

Permalink
Fix return for Runner.Ready
Browse files Browse the repository at this point in the history
  • Loading branch information
tep committed Aug 4, 2021
1 parent 615016a commit e8bb28b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func newRunner(svr Server, options []Option) (*Runner, error) {
// Ready returns a channel that is closed when the receiver's underlying
// Server is ready to serve reqeuests.
func (r *Runner) Ready() <-chan struct{} {
<-r.ready
return r.ready
}

func (r *Runner) close() {
Expand Down

0 comments on commit e8bb28b

Please sign in to comment.