Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix grpc client get variable #7573

Conversation

typhoonzero
Copy link
Contributor

@typhoonzero typhoonzero commented Jan 16, 2018

Fix #7631

Fix GRPC client get variable before it's initialized.

gongweibao
gongweibao previously approved these changes Jan 16, 2018
Copy link
Contributor

@gongweibao gongweibao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks!

@@ -63,9 +63,6 @@ bool RPCClient::AsyncGetVariable(const std::string& ep,
sendrecv::VariableMessage req;
req.set_varname(var_name);

auto* var = scope.FindVar(var_name);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need an issue explaining why would we remove these two lines. Or, at least explain the reason in the description of this PR, so could we record the reasoning behind the change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the issue.

@helinwang helinwang self-requested a review January 18, 2018 04:39
@typhoonzero typhoonzero closed this Apr 2, 2018
@typhoonzero typhoonzero deleted the fix_rpc_client_get_variable branch April 2, 2018 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants