Compare commits

..

No commits in common. "master" and "593c56d91a7736944030f7c37e9cfe45531b8586" have entirely different histories.

View File

@ -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")
} }