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

Update hcs errors to gov1.13 style #1450

Merged
merged 2 commits into from
Sep 15, 2022
Merged

Conversation

helsaawy
Copy link
Contributor

Add .Is( and .Unwrap( to internal\hcs\errors.go and internal\gcs\bridge.go to using them with errors.Is( and errors.As(

Signed-off-by: Hamza El-Saawy hamzaelsaawy@microsoft.com

@helsaawy helsaawy requested a review from a team as a code owner July 11, 2022 18:57
internal/uvm/start.go Outdated Show resolved Hide resolved
@msscotb msscotb self-assigned this Jul 13, 2022
@dcantah
Copy link
Contributor

dcantah commented Sep 14, 2022

@helsaawy There's a small conflict now, but this still needs another set of eyes 😐

Add `.Is(` and `.Unwrap(` to `internal\hcs\errors.go` to using them with
`errors.Is(`, as well as `internal\gcs\bridge.go`.

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
@helsaawy helsaawy merged commit c3f6bb7 into microsoft:main Sep 15, 2022
@helsaawy helsaawy deleted the he/errors-1.13 branch September 15, 2022 14:20
princepereira pushed a commit to princepereira/hcsshim that referenced this pull request Aug 29, 2024
* Update hcs errors to gov1.13 style

Add `.Is(` and `.Unwrap(` to `internal\hcs\errors.go` to using them with
`errors.Is(`, as well as `internal\gcs\bridge.go`.

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>

* PR: logic bug, declaration style

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
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.

4 participants