From 5d6cad4c3e65278f09bbc2b7416bc59840b046a2 Mon Sep 17 00:00:00 2001 From: Sebastian Spaink Date: Tue, 28 Jun 2022 10:28:15 -0500 Subject: [PATCH] fix: Update test to use address of parser --- plugins/inputs/http_listener_v2/http_listener_v2_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inputs/http_listener_v2/http_listener_v2_test.go b/plugins/inputs/http_listener_v2/http_listener_v2_test.go index 84a3c051a54a6..e24f2ad243389 100644 --- a/plugins/inputs/http_listener_v2/http_listener_v2_test.go +++ b/plugins/inputs/http_listener_v2/http_listener_v2_test.go @@ -601,7 +601,7 @@ func TestWriteHTTPQueryParams(t *testing.T) { listener := newTestHTTPListenerV2() listener.DataSource = "query" - listener.Parser = parser + listener.Parser = &parser acc := &testutil.Accumulator{} require.NoError(t, listener.Init())