Skip to content

Use Go 1.20 errors.Join instead of go.uber.org/multierr #25121

@mx-psi

Description

@mx-psi

Component(s)

No response

Describe the issue you're reporting

Go 1.20 includes new builtin error joining support that can replace the usage of go.uber.org/multierr. We should switch to using these and ban the usage of go.uber.org/multierr via depguard (same as this).

Counterpart of open-telemetry/opentelemetry-collector#8210.

This is blocked by #25116

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions