From cdd8cdfd7c47813ad44a0f193ef466f5f04096ad Mon Sep 17 00:00:00 2001 From: vishalkrishnads <321vishalds@gmail.com> Date: Tue, 13 Aug 2024 14:22:59 +0530 Subject: [PATCH] corrected disable hot tier api call --- test_utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_utils.go b/test_utils.go index 9ecd60f..e171f62 100644 --- a/test_utils.go +++ b/test_utils.go @@ -592,7 +592,7 @@ func activateHotTier(t *testing.T) { } func disableHotTier(t *testing.T) { - req, _ := NewGlob.QueryClient.NewRequest("PUT", "logstream/"+NewGlob.Stream+"/hottier", nil) + req, _ := NewGlob.QueryClient.NewRequest("DELETE", "logstream/"+NewGlob.Stream+"/hottier", nil) response, err := NewGlob.QueryClient.Do(req) body := readAsString(response.Body) require.Equalf(t, 200, response.StatusCode, "Server returned http code: %s and response: %s", response.Status, body)