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

minor refactor in dmverity-vhd tool #1948

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

anmaxvl
Copy link
Contributor

@anmaxvl anmaxvl commented Oct 26, 2023

Use errors package instead of the github.com/pkg/errors.

createVHD accepts layer number to avoid calling layer.DiffID() twice.

Use `errors` package instead of the `github.com/pkg/errors`.

`createVHD` accepts layer number to avoid calling `layer.DiffID()`
twice.

Signed-off-by: Maksim An <maksiman@microsoft.com>
@anmaxvl anmaxvl merged commit a3be979 into microsoft:main Oct 27, 2023
15 of 16 checks passed
@anmaxvl anmaxvl deleted the dmverity-vhd-tool branch October 27, 2023 00:48
anmaxvl added a commit to anmaxvl/hcsshim that referenced this pull request Oct 27, 2023
Use `errors` package instead of the `github.com/pkg/errors`.

`createVHD` accepts layer number to avoid calling `layer.DiffID()`
twice.

Signed-off-by: Maksim An <maksiman@microsoft.com>
(cherry picked from commit a3be979)
anmaxvl added a commit that referenced this pull request Oct 30, 2023
Use `errors` package instead of the `github.com/pkg/errors`.

`createVHD` accepts layer number to avoid calling `layer.DiffID()`
twice.

Signed-off-by: Maksim An <maksiman@microsoft.com>
(cherry picked from commit a3be979)
darracott pushed a commit to KenGordon/hcsshim that referenced this pull request Oct 30, 2023
Use `errors` package instead of the `github.com/pkg/errors`.

`createVHD` accepts layer number to avoid calling `layer.DiffID()`
twice.

Signed-off-by: Maksim An <maksiman@microsoft.com>
Signed-off-by: Joe Powell <joepowell@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.

None yet

2 participants