X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1267366d66cadcc09972721bf7381f96f8fe73d6..8a27fe370239ecb8e50d53f46b45ed61203a35ca:/services/keepstore/status_test.go diff --git a/services/keepstore/status_test.go b/services/keepstore/status_test.go index 7bff2584e5..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" @@ -15,7 +15,7 @@ import ( // getStatusItem("foo","bar","baz") retrieves /status.json, decodes // the response body into resp, and returns resp["foo"]["bar"]["baz"]. func getStatusItem(h *handler, keys ...string) interface{} { - resp := IssueRequest(h, &RequestTester{"/status.json", "", "GET", nil}) + resp := IssueRequest(h, &RequestTester{"/status.json", "", "GET", nil, ""}) var s interface{} json.NewDecoder(resp.Body).Decode(&s) for _, k := range keys {