From 4155ab5a8b5f23b4e5e82a39a45453fcf85f83f1 Mon Sep 17 00:00:00 2001 From: Jonathan Cross Date: Tue, 27 Oct 2015 13:46:16 -0400 Subject: [PATCH] use index 0 of server array for nsq test --- outputs/nsq/nsq_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/outputs/nsq/nsq_test.go b/outputs/nsq/nsq_test.go index fb2d2c5f0..0bae0c594 100644 --- a/outputs/nsq/nsq_test.go +++ b/outputs/nsq/nsq_test.go @@ -14,7 +14,7 @@ func TestConnectAndWrite(t *testing.T) { server := []string{testutil.GetLocalHost() + ":4150"} n := &NSQ{ - Server: server, + Server: server[0], Topic: "telegraf", }