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

Wrap errors correctly #129

Merged
merged 2 commits into from
Oct 30, 2023
Merged

Wrap errors correctly #129

merged 2 commits into from
Oct 30, 2023

Conversation

orozery
Copy link
Collaborator

@orozery orozery commented Oct 30, 2023

This PR changes wrapped errors to use %w instead of %v.

@orozery orozery requested a review from kfirtoledo October 30, 2023 06:25
@orozery orozery force-pushed the nit branch 2 times, most recently from 3089e15 to 1ed787b Compare October 30, 2023 07:00
Copy link
Collaborator

@elevran elevran left a comment

Choose a reason for hiding this comment

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

question: is there a disabled linter that can be enabled once this merges?

Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: this could belong in a different PR which can be merged first to allow other (currently failing) PR's to pass.

@orozery orozery force-pushed the nit branch 3 times, most recently from b4792da to 1417f80 Compare October 30, 2023 07:33
This commit changes wrapped errors to use %w instead of %v.

Signed-off-by: Or Ozeri <[email protected]>
This commit fixes some issues causing tests/k8s.sh to fail.

Signed-off-by: Or Ozeri <[email protected]>
@orozery orozery merged commit 9186707 into clusterlink-net:main Oct 30, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants