From 869f0fde9aeb497dc4b245ae1342116429ea9cbe Mon Sep 17 00:00:00 2001 From: Naoki Kosaka Date: Thu, 16 Sep 2021 23:46:49 +0900 Subject: [PATCH] Fix error level. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index d41ad49..7fef5b8 100644 --- a/main.go +++ b/main.go @@ -127,7 +127,7 @@ func initConfig(cmd *cobra.Command) { viper.SetConfigType("yaml") viper.ReadConfig(file) } 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("REDIS_URL")