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

Return (response, error) #5 #1750

Merged
merged 2 commits into from
Jul 21, 2015
Merged

Return (response, error) #5 #1750

merged 2 commits into from
Jul 21, 2015

Conversation

tamird
Copy link
Contributor

@tamird tamird commented Jul 21, 2015

This is the final one before Send! Might be easier commit-by-commit. Work toward #1403.

@tbg tbg added the PTAL label Jul 21, 2015
}

return err
return replies[0].(proto.Response), nil
}
Copy link
Member

Choose a reason for hiding this comment

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

what was that old code about?

Copy link
Member

Choose a reason for hiding this comment

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

oh, I see.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the reflection stuff? it's still here, just moved to Send. It's basically doing *reply = newReply. Hurray generics.

@tbg
Copy link
Member

tbg commented Jul 21, 2015

LGTM

tamird added a commit that referenced this pull request Jul 21, 2015
@tamird tamird merged commit 45a618a into cockroachdb:master Jul 21, 2015
@tbg tbg removed the PTAL label Jul 21, 2015
@tamird tamird deleted the return-replies-5 branch July 21, 2015 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants