From 3fdba2cb0bdd51b5c1e2dc3a601d03bd83d406a7 Mon Sep 17 00:00:00 2001 From: Sindy Li Date: Wed, 14 Aug 2024 13:26:49 -0700 Subject: [PATCH] Fix build failure --- exporter/otlpexporter/factory.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exporter/otlpexporter/factory.go b/exporter/otlpexporter/factory.go index 2c5aef3a965..a653648737e 100644 --- a/exporter/otlpexporter/factory.go +++ b/exporter/otlpexporter/factory.go @@ -63,7 +63,7 @@ func createTracesExporter( exporterhelper.WithQueue(oCfg.QueueConfig), exporterhelper.WithStart(oce.start), exporterhelper.WithShutdown(oce.shutdown), - exporterhelper.WithBatcher(cfg.BatcherConfig), + exporterhelper.WithBatcher(oCfg.BatcherConfig), ) } @@ -82,7 +82,7 @@ func createMetricsExporter( exporterhelper.WithQueue(oCfg.QueueConfig), exporterhelper.WithStart(oce.start), exporterhelper.WithShutdown(oce.shutdown), - exporterhelper.WithBatcher(cfg.BatcherConfig), + exporterhelper.WithBatcher(oCfg.BatcherConfig), ) } @@ -101,6 +101,6 @@ func createLogsExporter( exporterhelper.WithQueue(oCfg.QueueConfig), exporterhelper.WithStart(oce.start), exporterhelper.WithShutdown(oce.shutdown), - exporterhelper.WithBatcher(cfg.BatcherConfig), + exporterhelper.WithBatcher(oCfg.BatcherConfig), ) }