pass handler ctx to node rest nodegetter

This commit is contained in:
zuoxiu.jm
2018-10-01 09:20:11 -04:00
parent b442c25325
commit 3370907fe5
8 changed files with 16 additions and 25 deletions

View File

@@ -395,7 +395,7 @@ type mockConnectionInfoGetter struct {
info *client.ConnectionInfo
}
func (g mockConnectionInfoGetter) GetConnectionInfo(nodeName types.NodeName) (*client.ConnectionInfo, error) {
func (g mockConnectionInfoGetter) GetConnectionInfo(ctx context.Context, nodeName types.NodeName) (*client.ConnectionInfo, error) {
return g.info, nil
}