Skip to content

Commit

Permalink
Updated key override log message
Browse files Browse the repository at this point in the history
  • Loading branch information
RLado committed Sep 10, 2024
1 parent 2914e90 commit c42ad1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit c42ad1c

Please sign in to comment.