Skip to content

Commit fffaf29

Browse files
committed
Fixes bug after #7293
The Handler function signature was updated to include acceptUnknownRemoteWriteContentType but the test in TestHandler_RemoteWriteV2_MetadataPoolReset was not updated. Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
1 parent d03ceb7 commit fffaf29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/util/push/push_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ func TestHandler_RemoteWriteV2_MetadataPoolReset(t *testing.T) {
974974
return &cortexpb.WriteResponse{}, nil
975975
}
976976

977-
handler := Handler(true, 1000000, overrides, nil, mockPush, nil)
977+
handler := Handler(true, false, 1000000, overrides, nil, mockPush, nil)
978978
ctx := user.InjectOrgID(context.Background(), "user-1")
979979

980980
sendRequest := func(reqProto *writev2.Request) *httptest.ResponseRecorder {

0 commit comments

Comments
 (0)