Fix error level.
This commit is contained in:
parent
1c9446493d
commit
869f0fde9a
2
main.go
2
main.go
@ -127,7 +127,7 @@ func initConfig(cmd *cobra.Command) {
|
|||||||
viper.SetConfigType("yaml")
|
viper.SetConfigType("yaml")
|
||||||
viper.ReadConfig(file)
|
viper.ReadConfig(file)
|
||||||
} else {
|
} else {
|
||||||
logrus.Error("Config file not exist. Use environment variables.")
|
logrus.Warn("Config file not exist. Use environment variables.")
|
||||||
|
|
||||||
viper.BindEnv("ACTOR_PEM")
|
viper.BindEnv("ACTOR_PEM")
|
||||||
viper.BindEnv("REDIS_URL")
|
viper.BindEnv("REDIS_URL")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user