From 732045645a505b13ae7e43fda163d7fbe3a5f462 Mon Sep 17 00:00:00 2001 From: Bennett Wetters Date: Sat, 3 Aug 2024 21:56:26 +0200 Subject: [PATCH] refactor!: Change config path env var name --- README.md | 2 +- config/config.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e24266a..4cace42 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ go build -ldflags '-X main.version=v420.69-rc23' . Set the environment variable to a comma-separated list of config files or pass the `-c` flag. ```shell -env CONFIG_PATH=config-template.json go run . +env SPACEAPID_CONFIG_PATH=config-template.json go run . # OR go run . -c config-credentials.json,config-dynamic.json,config-response.json ``` diff --git a/config/config.go b/config/config.go index 2190837..f9d7bcd 100644 --- a/config/config.go +++ b/config/config.go @@ -14,7 +14,7 @@ import ( ) const ( - envConfigPath = "CONFIG_PATH" + envConfigPath = "SPACEAPID_CONFIG_PATH" ) type pathsT []string