From c42ad1c73e227a96c23bb5d1d8f89e8e39ec2dbb Mon Sep 17 00:00:00 2001 From: Ricard Lado Date: Tue, 10 Sep 2024 20:01:10 +0200 Subject: [PATCH] Updated key override log message --- src/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.go b/src/main.go index b098c61..10bf091 100644 --- a/src/main.go +++ b/src/main.go @@ -374,7 +374,7 @@ func main() { // If environment variables for the API keys are set, override the global API keys of the config file if os.Getenv("OINK_OVERRIDE_SECRETAPIKEY") != "" && os.Getenv("OINK_OVERRIDE_APIKEY") != "" { if *verbose { - log.Printf("Overriding secretapikey and apikey with environment variables") + log.Printf("Overriding global 'secretapikey' and 'apikey' with environment variables") } cfg.Global.Secretapikey = os.Getenv("OINK_OVERRIDE_SECRETAPIKEY") cfg.Global.Apikey = os.Getenv("OINK_OVERRIDE_APIKEY")