X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/28e50cc9480fdad416404542511a172cdc7253c7..5c5ac412b722025d1af37f81bea60a4b503ce6aa:/lib/dispatchcloud/dispatcher.go diff --git a/lib/dispatchcloud/dispatcher.go b/lib/dispatchcloud/dispatcher.go index 4023896f79..02b6c976ae 100644 --- a/lib/dispatchcloud/dispatcher.go +++ b/lib/dispatchcloud/dispatcher.go @@ -82,6 +82,11 @@ func (disp *dispatcher) CheckHealth() error { return disp.pool.CheckHealth() } +// Done implements service.Handler. +func (disp *dispatcher) Done() <-chan struct{} { + return disp.stopped +} + // Stop dispatching containers and release resources. Typically used // in tests. func (disp *dispatcher) Close() {