X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0561bd0c3c07257fd58ded6c7cfa5feeae97af57..d49403ac749fffe24ac6357597e6014bb65efa30:/services/keepstore/status_test.go diff --git a/services/keepstore/status_test.go b/services/keepstore/status_test.go index dc6efb083d..80f98adb22 100644 --- a/services/keepstore/status_test.go +++ b/services/keepstore/status_test.go @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: AGPL-3.0 -package main +package keepstore import ( "encoding/json" @@ -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 {