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

Do not return error from builder.Add method #958

Merged
merged 2 commits into from
Aug 3, 2019

Conversation

jarifibrahim
Copy link
Contributor

@jarifibrahim jarifibrahim commented Aug 1, 2019

The builder.Add method doesn't need to return an error. We always return
nil and it has to be handled everywhere. This commit removes it.


This change is Reviewable

Ibrahim Jarif added 2 commits August 1, 2019 19:16
The builder.Add method doesn't need to return an error. We always return
nil and it has to be handled everywhere. This commit removes it.
Copy link
Contributor

@manishrjain manishrjain left a comment

Choose a reason for hiding this comment

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

:lgtm: Nice cleanup.

Reviewed 8 of 8 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ashish-goswami)

Copy link
Contributor

@ashish-goswami ashish-goswami left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ashish-goswami)

@jarifibrahim jarifibrahim merged commit e627d49 into master Aug 3, 2019
@jarifibrahim jarifibrahim deleted the ibrahim/add-noerror branch August 3, 2019 06:49
jarifibrahim pushed a commit that referenced this pull request Aug 9, 2019
The builder.Add method doesn't need to return an error. We always return
nil and it has to be handled everywhere. This commit removes it.
jarifibrahim pushed a commit that referenced this pull request Mar 12, 2020
The builder.Add method doesn't need to return an error. We always return
nil and it has to be handled everywhere. This commit removes it.

(cherry picked from commit e627d49)
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.

3 participants