File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -173,8 +173,9 @@ func TestCollector_ProcessNginxConfigUpdateTopic(t *testing.T) {
173
173
},
174
174
},
175
175
receivers : config.Receivers {
176
- HostMetrics : nil ,
177
- OtlpReceivers : nil ,
176
+ HostMetrics : nil ,
177
+ OtlpReceivers : nil ,
178
+ TcplogReceivers : make (map [string ]* config.TcplogReceiver ),
178
179
NginxPlusReceivers : []config.NginxPlusReceiver {
179
180
{
180
181
InstanceID : "123" ,
@@ -213,8 +214,9 @@ func TestCollector_ProcessNginxConfigUpdateTopic(t *testing.T) {
213
214
},
214
215
},
215
216
receivers : config.Receivers {
216
- HostMetrics : nil ,
217
- OtlpReceivers : nil ,
217
+ HostMetrics : nil ,
218
+ OtlpReceivers : nil ,
219
+ TcplogReceivers : make (map [string ]* config.TcplogReceiver ),
218
220
NginxReceivers : []config.NginxReceiver {
219
221
{
220
222
InstanceID : "123" ,
You can’t perform that action at this time.
0 commit comments