refactor!: Change config path env var name
This commit is contained in:
parent
759787569d
commit
732045645a
|
@ -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
|
||||
```
|
||||
|
|
|
@ -14,7 +14,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
envConfigPath = "CONFIG_PATH"
|
||||
envConfigPath = "SPACEAPID_CONFIG_PATH"
|
||||
)
|
||||
|
||||
type pathsT []string
|
||||
|
|
Loading…
Reference in a new issue