Skip to content

Commit

Permalink
use index 0 of server array for nsq test
Browse files Browse the repository at this point in the history
  • Loading branch information
jrxFive authored and sparrc committed Oct 27, 2015
1 parent e13500f commit 0d31f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion outputs/nsq/nsq_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func TestConnectAndWrite(t *testing.T) {

server := []string{testutil.GetLocalHost() + ":4150"}
n := &NSQ{
Server: server,
Server: server[0],
Topic: "telegraf",
}

Expand Down

0 comments on commit 0d31f40

Please sign in to comment.