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

Call cancel function only if err is not nil #3990

Merged
merged 1 commit into from
Sep 17, 2019
Merged

Conversation

campoy
Copy link
Contributor

@campoy campoy commented Sep 13, 2019

Fixes #3966


This change is Reviewable

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

✅ A review job has been created and sent to the PullRequest network.


@campoy you can click here to see the review status or cancel the code review job.

@campoy campoy requested review from mangalaman93 and removed request for gitlw and manishrjain September 13, 2019 17:49
Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

Thank you for moving the cancel below the error check.


Reviewed with ❤️ by PullRequest

Copy link
Member

@mangalaman93 mangalaman93 left a comment

Choose a reason for hiding this comment

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

I also tested this change and it fixes the issue. LGTM

Copy link
Contributor

@martinmr martinmr left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@mangalaman93 mangalaman93 merged commit f356937 into master Sep 17, 2019
@mangalaman93 mangalaman93 deleted the campoy/fix3966 branch September 17, 2019 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

ACL command panics when asking for info of a non-existing user
3 participants