use index 0 of server array for nsq test
This commit is contained in:
parent
e13500fc4f
commit
0d31f40e16
|
@ -14,7 +14,7 @@ func TestConnectAndWrite(t *testing.T) {
|
|||
|
||||
server := []string{testutil.GetLocalHost() + ":4150"}
|
||||
n := &NSQ{
|
||||
Server: server,
|
||||
Server: server[0],
|
||||
Topic: "telegraf",
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue