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

Cleanup useless gen_config.sh. #603

Merged
merged 9 commits into from
Feb 8, 2018

Conversation

gongweibao
Copy link
Collaborator

@gongweibao gongweibao commented Feb 6, 2018

Fix #586

@gongweibao gongweibao changed the title [Don't review]It's just a test. It's just a test. Feb 6, 2018
@gongweibao gongweibao changed the title It's just a test. Cleanup useless gen_config.sh. Feb 6, 2018
@typhoonzero
Copy link
Collaborator

Compile fails

# github.com/PaddlePaddle/cloud/go/paddlectl
paddlectl/submit.go:25: undefined: config.SumitConfig

And, need update the unit test if default config is not generated.

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.

LGTM, one comment that doesn't block merge.

@@ -15,7 +15,7 @@ import (
)

// Config is global config object for pfs commandline
var Config = config.ParseDefaultConfig()
var Config *config.SubmitConfig
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why Config global is defined in upload.go, should it be placed in a common file?

Copy link
Collaborator Author

@gongweibao gongweibao Feb 8, 2018

Choose a reason for hiding this comment

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

In different packages, they all have Config variable.

@gongweibao gongweibao merged commit cb42e49 into PaddlePaddle:develop Feb 8, 2018
@gongweibao gongweibao deleted the testconfig branch February 8, 2018 04:11
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.

2 participants