From d35c02297b1086a45c5b771b2c53eb416cade5fa Mon Sep 17 00:00:00 2001 From: Gergely Madarasz Date: Fri, 6 Dec 2024 10:46:19 +0100 Subject: [PATCH] Remove multierr --- exporter/exporterhelper/internal/queue_sender.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/exporter/exporterhelper/internal/queue_sender.go b/exporter/exporterhelper/internal/queue_sender.go index 891338664cb..728ad8547ef 100644 --- a/exporter/exporterhelper/internal/queue_sender.go +++ b/exporter/exporterhelper/internal/queue_sender.go @@ -10,7 +10,6 @@ import ( "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/metric" "go.opentelemetry.io/otel/trace" - "go.uber.org/multierr" "go.uber.org/zap" "go.opentelemetry.io/collector/component" @@ -149,7 +148,7 @@ func (qs *QueueSender) Start(ctx context.Context, host component.Host) error { }) } - return multierr.Append(err1, err2) + return errors.Join(err1, err2) } // Shutdown is invoked during service shutdown.