Skip to content

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!

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