Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
rpc: remove Conn.Go method #4553
Conversation
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
added a commit
that referenced
this pull request
Feb 29, 2016
jujubot
merged commit a70da22
into
juju:master
Feb 29, 2016
davecheney
deleted the
davecheney:rpc-cleanup
branch
Feb 29, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
davecheney commentedFeb 28, 2016
Conn.Go was never called directly, but was exported in the package's
API. As
gois a reserved word, this probably explains the method'spublic name. Because the method was public, a lot of preconditions, some
panicing had to be set to ensure the method was not called incorrectly.
Remove all of this and collapse
Gointo its single caller, reducingthe API surface, and ensuring it is always called correctly.
(Review request: http://reviews.vapour.ws/r/3992/)