From e8bb28b66b59a725b1a711e4153ca38b210833f6 Mon Sep 17 00:00:00 2001 From: Tim Peoples Date: Wed, 4 Aug 2021 12:46:16 -0700 Subject: [PATCH] Fix return for Runner.Ready --- runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runner.go b/runner.go index f7ee919..19cf0a9 100644 --- a/runner.go +++ b/runner.go @@ -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() {