Add support for TLS configuration in NSQ input (#3903)
This commit is contained in:
@@ -19,9 +19,8 @@ func TestNSQStatsV1(t *testing.T) {
|
||||
}))
|
||||
defer ts.Close()
|
||||
|
||||
n := &NSQ{
|
||||
Endpoints: []string{ts.URL},
|
||||
}
|
||||
n := New()
|
||||
n.Endpoints = []string{ts.URL}
|
||||
|
||||
var acc testutil.Accumulator
|
||||
err := acc.GatherError(n.Gather)
|
||||
@@ -276,9 +275,8 @@ func TestNSQStatsPreV1(t *testing.T) {
|
||||
}))
|
||||
defer ts.Close()
|
||||
|
||||
n := &NSQ{
|
||||
Endpoints: []string{ts.URL},
|
||||
}
|
||||
n := New()
|
||||
n.Endpoints = []string{ts.URL}
|
||||
|
||||
var acc testutil.Accumulator
|
||||
err := acc.GatherError(n.Gather)
|
||||
|
||||
Reference in New Issue
Block a user