-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix RecvMsg in the single target case. (#164)
We need to allow this to be called via Recv() as well which means handling proto.Message at the return type too. So check for both types and base this on # targets for which is valid (or not). Write a test which catches this case since we missed it before.
- Loading branch information
1 parent
4ce1d37
commit 18d5130
Showing
2 changed files
with
79 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters