Fix error level.

This commit is contained in:
Naoki Kosaka 2021-09-16 23:46:49 +09:00
parent 1c9446493d
commit 869f0fde9a

View File

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