Compare commits
No commits in common. "master" and "593c56d91a7736944030f7c37e9cfe45531b8586" have entirely different histories.
master
...
593c56d91a
@ -57,8 +57,7 @@ func initConfig() {
|
|||||||
// Use config file from the flag.
|
// Use config file from the flag.
|
||||||
viper.SetConfigFile(cfgFile)
|
viper.SetConfigFile(cfgFile)
|
||||||
} else {
|
} else {
|
||||||
viper.AddConfigPath("/etc")
|
viper.SetConfigType("/etc")
|
||||||
viper.SetConfigType("toml")
|
|
||||||
viper.SetConfigName("lassoctl")
|
viper.SetConfigName("lassoctl")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user