Fix a bug in previous patch.

This commit is contained in:
Harshavardhana 2017-01-16 01:48:34 -08:00
parent bf2b8879b7
commit f8a3b1e164

View File

@ -165,12 +165,12 @@ func checkUpdate() {
// Generic Minio initialization to create/load config, prepare loggers, etc..
func minioInit(ctx *cli.Context) {
// Sets new config directory.
setGlobalConfigPath(globalConfigDir)
// Set global variables after parsing passed arguments
setGlobalsFromContext(ctx)
// Sets new config directory.
setGlobalConfigPath(globalConfigDir)
// Is TLS configured?.
globalIsSSL = isSSL()