13647: Use cluster config instead of custom keepstore config.
[arvados.git] / services / keepstore / status_test.go
index 74de61e72ff7c1a1dbba72472d0c1f3238120edf..7bff2584e5ae30529c7fb79dcccc6c95156521e2 100644 (file)
@@ -1,3 +1,7 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: AGPL-3.0
+
 package main
 
 import (
@@ -10,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 {