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) {
173173 },
174174 },
175175 receivers : config.Receivers {
176- HostMetrics : nil ,
177- OtlpReceivers : nil ,
176+ HostMetrics : nil ,
177+ OtlpReceivers : nil ,
178+ TcplogReceivers : make (map [string ]* config.TcplogReceiver ),
178179 NginxPlusReceivers : []config.NginxPlusReceiver {
179180 {
180181 InstanceID : "123" ,
@@ -213,8 +214,9 @@ func TestCollector_ProcessNginxConfigUpdateTopic(t *testing.T) {
213214 },
214215 },
215216 receivers : config.Receivers {
216- HostMetrics : nil ,
217- OtlpReceivers : nil ,
217+ HostMetrics : nil ,
218+ OtlpReceivers : nil ,
219+ TcplogReceivers : make (map [string ]* config.TcplogReceiver ),
218220 NginxReceivers : []config.NginxReceiver {
219221 {
220222 InstanceID : "123" ,
You can’t perform that action at this time.
0 commit comments