diff --git a/outputs/nsq/nsq_test.go b/outputs/nsq/nsq_test.go index 0bae0c594..4448383f4 100644 --- a/outputs/nsq/nsq_test.go +++ b/outputs/nsq/nsq_test.go @@ -23,6 +23,6 @@ func TestConnectAndWrite(t *testing.T) { require.NoError(t, err) // Verify that we can successfully write data to the NSQ daemon - err = n.Write(testutil.MockBatchPoints()) + err = n.Write(testutil.MockBatchPoints().Points()) require.NoError(t, err) }