Refactor the multi-host salt install page.
[arvados.git] / services / keepstore / status_test.go
index 7bff2584e5ae30529c7fb79dcccc6c95156521e2..80f98adb225bbd829dca5fcc9753e02e333d7225 100644 (file)
@@ -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 {