16217: Fix test (satisfy additional handler interface).
authorTom Clegg <tom@tomclegg.ca>
Wed, 1 Apr 2020 17:42:08 +0000 (13:42 -0400)
committerTom Clegg <tom@tomclegg.ca>
Wed, 1 Apr 2020 17:42:08 +0000 (13:42 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

lib/service/cmd_test.go

index 86039c4dd1fa111d2de292676f4773c9bdc203a1..ec7834972c2609aeb5e4cd14099d35367a7e3c09 100644 (file)
@@ -135,6 +135,7 @@ type testHandler struct {
        healthCheck chan bool
 }
 
+func (th *testHandler) Done() <-chan struct{}                            { return nil }
 func (th *testHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { th.handler.ServeHTTP(w, r) }
 func (th *testHandler) CheckHealth() error {
        ctxlog.FromContext(th.ctx).Info("CheckHealth called")