config: Add browser parameter (#3807)

browser new parameter receives "on" or "off" parameter which is similar
to MINIO_BROWSER
This commit is contained in:
Anis Elleuch
2017-02-27 23:59:53 +01:00
committed by Harshavardhana
parent c9619673fb
commit 9b3c014bab
9 changed files with 290 additions and 38 deletions

View File

@@ -533,7 +533,7 @@ func newTestConfig(bucketLocation string) (rootPath string, err error) {
setGlobalConfigPath(rootPath)
// Initialize server config.
if err = newConfig(credential{}); err != nil {
if err = newConfig(envParams{}); err != nil {
return "", err
}