Compare commits

...

1 Commits

Author SHA1 Message Date
Elara 50e253e211 Fix config path for lassoctl 2021-11-11 16:31:50 -08:00
1 changed files with 2 additions and 1 deletions

View File

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