18112: Merge branch 'main' into 18112-ubuntu1804-bundler-fix
[arvados.git] / services / keepstore / status_test.go
index dc6efb083dc6ed9f1fd597f7eb532fdc4f848c1d..cafe9f72ff0e0eaf3ec7b1da842c5ac083ca4028 100644 (file)
@@ -14,8 +14,8 @@ import (
 
 // getStatusItem("foo","bar","baz") retrieves /status.json, decodes
 // the response body into resp, and returns resp["foo"]["bar"]["baz"].
-func getStatusItem(keys ...string) interface{} {
-       resp := IssueRequest(&RequestTester{"/status.json", "", "GET", nil})
+func getStatusItem(h *handler, keys ...string) interface{} {
+       resp := IssueRequest(h, &RequestTester{"/status.json", "", "GET", nil, ""})
        var s interface{}
        json.NewDecoder(resp.Body).Decode(&s)
        for _, k := range keys {