-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We used to check that the message was not nill, but forgot to check the error. This double-check (is err nil? + is message nil?) would cause a bit of ugly nesting so I moved it into newHostInfo so we can return instead of nest. This required a renaming of newHostInfo to receiveHostInfo to keep the naming accurate.
- Loading branch information
1 parent
afd2927
commit aa17113
Showing
1 changed file
with
15 additions
and
10 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