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

Replace errors.Wrap with %w #3860

Merged
merged 1 commit into from
Mar 24, 2020
Merged

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Mar 23, 2020

Signed-off-by: David Gageot [email protected]

@codecov
Copy link

codecov bot commented Mar 23, 2020

Codecov Report

Merging #3860 into master will decrease coverage by 0.05%.
The diff coverage is 26.28%.

Impacted Files Coverage Δ
pkg/skaffold/build/gcb/spec.go 93.75% <ø> (ø) ⬆️
pkg/skaffold/util/config.go 68.42% <ø> (ø) ⬆️
pkg/skaffold/build/gcb/jib.go 84% <ø> (ø) ⬆️
pkg/skaffold/deploy/resource/pod.go 100% <ø> (ø) ⬆️
pkg/skaffold/initializer/build/json.go 90% <ø> (ø) ⬆️
pkg/skaffold/initializer/build/resolve.go 86.44% <ø> (ø) ⬆️
pkg/skaffold/generate_pipeline/tasks.go 76.92% <ø> (ø) ⬆️
pkg/skaffold/build/gcb/cloud_build.go 0% <0%> (ø) ⬆️
pkg/skaffold/debug/debug.go 45.16% <0%> (ø) ⬆️
pkg/skaffold/runner/deploy.go 66.66% <0%> (ø) ⬆️
... and 116 more

Signed-off-by: David Gageot <[email protected]>
@nkubala
Copy link
Contributor

nkubala commented Mar 23, 2020

is there any functional difference between the two (e.g. the error strings that get surfaced are the same)?

i'm all for removing a dependency just want to understand!

@dgageot
Copy link
Contributor Author

dgageot commented Mar 23, 2020

@nkubala just removing a dep and using more recent go constructs indeed.

@dgageot dgageot merged commit d402799 into GoogleContainerTools:master Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants