Compare commits
1 Commits
593c56d91a
...
master
Author | SHA1 | Date | |
---|---|---|---|
50e253e211 |
@ -57,7 +57,8 @@ func initConfig() {
|
||||
// Use config file from the flag.
|
||||
viper.SetConfigFile(cfgFile)
|
||||
} else {
|
||||
viper.SetConfigType("/etc")
|
||||
viper.AddConfigPath("/etc")
|
||||
viper.SetConfigType("toml")
|
||||
viper.SetConfigName("lassoctl")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user