Skip to content

update paddle configure#98

Merged
Yancey0623 merged 4 commits intoPaddlePaddle:developfrom
Yancey0623:activate_dc
May 26, 2017
Merged

update paddle configure#98
Yancey0623 merged 4 commits intoPaddlePaddle:developfrom
Yancey0623:activate_dc

Conversation

@Yancey0623
Copy link
Collaborator

Fixed #59

for _, item := range config.DC {
if item.Active {
if item.Name == config.CurrentDatacenter {
config.ActiveConfig = &item
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should break here. &item will change in next loop.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

Copy link
Collaborator

@typhoonzero typhoonzero left a comment

Choose a reason for hiding this comment

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

If this PR merged, we have to make a new release version and upload new binaries, so that users see the document will be different to the binaries

@Yancey0623 Yancey0623 merged commit de9386f into PaddlePaddle:develop May 26, 2017
@Yancey0623 Yancey0623 deleted the activate_dc branch May 26, 2017 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants