projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e54ef05
)
16217: Fix test (satisfy additional handler interface).
author
Tom Clegg <tom@tomclegg.ca>
Wed, 1 Apr 2020 17:42:08 +0000
(13:42 -0400)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/lib/service/cmd_test.go
b/lib/service/cmd_test.go
index 86039c4dd1fa111d2de292676f4773c9bdc203a1..ec7834972c2609aeb5e4cd14099d35367a7e3c09 100644
(file)
--- a/
lib/service/cmd_test.go
+++ b/
lib/service/cmd_test.go
@@
-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")