Remove unnecessary check, test was moved further up in scope

This commit is contained in:
Sean Chittenden 2016-02-02 11:13:58 -08:00
parent ae53e0b2a1
commit 1c9d74a337

View File

@ -390,9 +390,7 @@ func (c *Client) RPC(method string, args interface{}, reply interface{}) error {
var server *serverParts
if c.lastServer != nil && lastRPCTime < clientRPCConnMaxIdle {
server = c.lastServer
if server != nil {
goto TRY_RPC
}
goto TRY_RPC
}
// Bail if we can't find any servers