Skip to content

cmd/podman: switch to golang native error wrapping#14785

Merged
rhatdan merged 1 commit intocontainers:mainfrom
saschagrunert:cmd-podman-errors
Jun 30, 2022
Merged

cmd/podman: switch to golang native error wrapping#14785
rhatdan merged 1 commit intocontainers:mainfrom
saschagrunert:cmd-podman-errors

Conversation

@saschagrunert
Copy link
Copy Markdown
Member

We now use the golang error wrapping format specifier %w instead of the deprecated github.com/pkg/errors package.

Part of #14784

Does this PR introduce a user-facing change?

None

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Jun 30, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: saschagrunert

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 30, 2022
@saschagrunert saschagrunert force-pushed the cmd-podman-errors branch 2 times, most recently from 807af2e to de34237 Compare June 30, 2022 09:29
We now use the golang error wrapping format specifier `%w` instead of
the deprecated github.com/pkg/errors package.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
@saschagrunert
Copy link
Copy Markdown
Member Author

@containers/podman-maintainers PTAL

Copy link
Copy Markdown
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
Thanks, @saschagrunert !

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jun 30, 2022
@rhatdan rhatdan merged commit 3e8ab31 into containers:main Jun 30, 2022
@saschagrunert saschagrunert deleted the cmd-podman-errors branch June 30, 2022 14:00
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 21, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. release-note-none

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants