Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commit: check for storage.ErrImageUnknown using errors.Cause() #1905

Merged
merged 1 commit into from
Oct 11, 2019

Conversation

nalind
Copy link
Member

@nalind nalind commented Oct 10, 2019

The storage library can return its errors wrapped in additional context, so to do a direct comparison we need to dig down to the root cause.

The storage library can return its errors wrapped in additional context,
so to do a direct comparison we need to dig down to the root cause.

Signed-off-by: Nalin Dahyabhai <[email protected]>
@rhatdan
Copy link
Member

rhatdan commented Oct 11, 2019

LGTM
@TomSweeneyRedHat Lets merge this.

@rhatdan
Copy link
Member

rhatdan commented Oct 11, 2019

@vrothberg @giuseppe @QiWang19 PTAL

@giuseppe
Copy link
Member

LGTM

@giuseppe giuseppe merged commit 68b2aa5 into containers:master Oct 11, 2019
@nalind nalind deleted the commit-error-cause branch October 11, 2019 14:13
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants