Merge pull request #95 from ThatsMrTalbot/patch-1

MockClient.CallRemote now returns nil on success
This commit is contained in:
Asim Aslam 2016-05-28 21:00:09 +01:00
commit 824d2a850c

View File

@ -123,6 +123,8 @@ func (m *MockClient) CallRemote(ctx context.Context, addr string, req client.Req
}
v.Set(reflect.ValueOf(r.Response))
return nil
}
return fmt.Errorf("rpc: can't find service %s", req.Method())