Skip to content

Commit

Permalink
corrected disable hot tier api call
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalkrishnads committed Aug 13, 2024
1 parent fdba138 commit cdd8cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cdd8cdf

Please sign in to comment.