-
Notifications
You must be signed in to change notification settings - Fork 4
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
udpn: Add missing error wrapping #67
Conversation
e73b20d
to
4b41169
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: maiqueb The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
4b41169
to
43f775f
Compare
@@ -198,7 +198,7 @@ var _ = Describe("VMI IPAM controller", Serial, func() { | |||
inputNADs: []*nadv1.NetworkAttachmentDefinition{ | |||
dummyNADWrongFormat(nadName), | |||
}, | |||
expectedError: fmt.Errorf("failed to extract the relevant NAD information"), | |||
expectedError: fmt.Errorf("failed to extract the relevant NAD information: failed to extract CNI configuration from NAD: invalid character 'h' in literal true (expecting 'r')"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: if we can omit please the "invalid character 'h' in literal true (expecting 'r')" would be nicer
/lgtm
Signed-off-by: Enrique Llorente <ellorent@redhat.com>
43f775f
to
f75faab
Compare
/lgtm |
What this PR does / why we need it:
udpn: Add missing error wrapping