-
Notifications
You must be signed in to change notification settings - Fork 77
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
Conversation
Compile fails
And, need update the unit test if default config is not generated. |
There was a problem hiding this 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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
Fix #586