From d7fe5aee7e9aa594a97df873538c303d465d94e4 Mon Sep 17 00:00:00 2001 From: odubajDT Date: Thu, 17 Oct 2024 14:48:57 +0200 Subject: [PATCH] fix traces tests Signed-off-by: odubajDT --- testbed/datareceivers/zipkin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testbed/datareceivers/zipkin.go b/testbed/datareceivers/zipkin.go index 0b60098e30fa..504302537e4d 100644 --- a/testbed/datareceivers/zipkin.go +++ b/testbed/datareceivers/zipkin.go @@ -31,7 +31,7 @@ func NewZipkinDataReceiver(port int) testbed.DataReceiver { func (zr *zipkinDataReceiver) Start(tc consumer.Traces, _ consumer.Metrics, _ consumer.Logs) error { factory := zipkinreceiver.NewFactory() cfg := factory.CreateDefaultConfig().(*zipkinreceiver.Config) - cfg.Endpoint = fmt.Sprintf("127.0.0.1:%d", zr.Port) + cfg.Protocols.HTTP.Endpoint = fmt.Sprintf("127.0.0.1:%d", zr.Port) set := receivertest.NewNopSettings() var err error