diff options
author | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2019-06-25 11:42:31 -0700 |
---|---|---|
committer | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2019-06-26 10:38:47 -0700 |
commit | 6b911a5168a72e8659309db7349750cdec6eb8d2 (patch) | |
tree | c6bdb6aa1a528c2e653c786bab7953f8abafa550 /src/k8splugin/api/healthcheckhandler_test.go | |
parent | 8445148cf095fcc55a9ada3e2bb0fece7a065089 (diff) |
Move connectionhandler.go into api package
Move connectionhandler.go into api package
This brings it inline with the other API handlers
Issue-ID: MULTICLOUD-666
Change-Id: Ia3b832159f537c6d8d8ecc93b56bc9b085649f7e
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'src/k8splugin/api/healthcheckhandler_test.go')
-rw-r--r-- | src/k8splugin/api/healthcheckhandler_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/k8splugin/api/healthcheckhandler_test.go b/src/k8splugin/api/healthcheckhandler_test.go index d96bb3cd..ab9322fd 100644 --- a/src/k8splugin/api/healthcheckhandler_test.go +++ b/src/k8splugin/api/healthcheckhandler_test.go @@ -35,7 +35,7 @@ func TestHealthCheckHandler(t *testing.T) { Err: nil, } request := httptest.NewRequest("GET", "/v1/healthcheck", nil) - resp := executeRequest(request, NewRouter(nil, nil, nil, nil, nil)) + resp := executeRequest(request, NewRouter(nil, nil, nil, nil, nil, nil)) //Check returned code if resp.StatusCode != http.StatusOK { @@ -48,7 +48,7 @@ func TestHealthCheckHandler(t *testing.T) { Err: pkgerrors.New("Runtime Error in DB"), } request := httptest.NewRequest("GET", "/v1/healthcheck", nil) - resp := executeRequest(request, NewRouter(nil, nil, nil, nil, nil)) + resp := executeRequest(request, NewRouter(nil, nil, nil, nil, nil, nil)) //Check returned code if resp.StatusCode != http.StatusInternalServerError { |