Skip to content

refactor: use errors.Join to wrap multiple errors - #1322

Merged
nodece merged 1 commit into
apache:masterfrom
reugn:errors-join
Dec 24, 2024
Merged

nodece merged 1 commit into
apache:masterfrom
reugn:errors-join

Conversation

@reugn

@reugn reugn commented Dec 18, 2024 •

Copy link
Copy Markdown
Contributor

Motivation

Use the standard errors.Join function to wrap errors.

Modifications

  • Use errors.Join to wrap multiple errors
  • Remove the github.com/hashicorp/go-multierror dependency

Verifying this change

  • Make sure that the change passes the CI checks.

This change is already covered by existing tests.

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): (yes / no)
  • The public API: (yes / no)
  • The schema: (yes / no / don't know)
  • The default values of configurations: (yes / no)
  • The wire protocol: (yes / no)

Documentation

  • Does this pull request introduce a new feature? (yes / no)

@nodece nodece added this to the v0.15.0 milestone Dec 24, 2024
@nodece
nodece merged commit ffba2a8 into apache:master Dec 24, 2024
@reugn
reugn deleted the errors-join branch December 24, 2024 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants