Skip to content

Switch to golang native error wrapping#1282

Merged
rhatdan merged 2 commits intocontainers:mainfrom
saschagrunert:errors
Jul 11, 2022
Merged

Switch to golang native error wrapping#1282
rhatdan merged 2 commits intocontainers:mainfrom
saschagrunert: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.

@saschagrunert saschagrunert force-pushed the errors branch 5 times, most recently from 9f9f4e2 to 58a32f7 Compare July 7, 2022 11:22
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 saschagrunert changed the title WIP: Switch to golang native error wrapping Switch to golang native error wrapping Jul 7, 2022
@saschagrunert
Copy link
Copy Markdown
Member Author

Ready for review, PTAL @containers/storage-maintainers

Copy link
Copy Markdown
Member

@rhatdan rhatdan left a comment

Choose a reason for hiding this comment

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

@rhatdan
Copy link
Copy Markdown
Member

rhatdan commented Jul 8, 2022

Copy link
Copy Markdown
Collaborator

@flouthoc flouthoc 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

@vrothberg
Copy link
Copy Markdown
Member

@saschagrunert could you rebase just to be extra sure we don't miss anything?

Feel free to merge once green.

@rhatdan rhatdan merged commit e0b3b88 into containers:main Jul 11, 2022
@saschagrunert saschagrunert deleted the errors branch July 12, 2022 07:26
@saschagrunert
Copy link
Copy Markdown
Member Author

I missed the rebase because of my PTO yesterday, hope nothing broke.

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.

5 participants