Skip to content

Commit

Permalink
Remove multierr
Browse files Browse the repository at this point in the history
  • Loading branch information
madaraszg-tulip committed Dec 6, 2024
1 parent 1947f66 commit d35c022
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions exporter/exporterhelper/internal/queue_sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit d35c022

Please sign in to comment.