Skip to content

Commit

Permalink
fix traces tests
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <[email protected]>
  • Loading branch information
odubajDT committed Nov 7, 2024
1 parent 4546862 commit ca05388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testbed/datareceivers/zipkin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca05388

Please sign in to comment.