Revert "init: Honor config-dir flag when it is passed as global or local flag (#3337)"

This reverts commit e2ef95af7d.

This is reverted since the previous patch caused crashes.
This commit is contained in:
Harshavardhana
2016-11-23 17:27:42 -08:00
parent 12c1abed98
commit dd74e5a809
5 changed files with 68 additions and 89 deletions

View File

@@ -53,12 +53,11 @@ const (
)
var (
globalQuiet = false // quiet flag set via command line.
globalConfigDir = mustGetConfigPath() // config-dir flag set via command line
// Add new global flags here.
globalQuiet = false // Quiet flag set via command line.
globalIsDistXL = false // "Is Distributed?" flag.
// Add new global flags here.
// Maximum cache size.
globalMaxCacheSize = uint64(maxCacheSize)
// Cache expiry.