diff --git a/context/stoppable/single.go b/context/stoppable/single.go index c5eadaefa40e8070ebb4b85ae710ff65d0f8fab6..acd8da0077427215934dae20b68ff9346396492c 100644 --- a/context/stoppable/single.go +++ b/context/stoppable/single.go @@ -32,7 +32,7 @@ func (s *Single) IsRunning() bool { } // Quit returns the read only channel it will send the stop signal on. -func (s *Single) Quit() <-chan struct{} { +func (s *Single) Quit() chan<- struct{} { return s.quit }