Skip to content

Commit

Permalink
fix: Default value is not set in Redis connection string using enviro…
Browse files Browse the repository at this point in the history
…nment variable (#4136)

Removed documentation of Redis connection string supporting default values when using environment variables as it isn't supported

Fixes #3669

Signed-off-by: Theodor Mihalache <tmihalac@redhat.com>
  • Loading branch information
tmihalac authored Apr 25, 2024
1 parent 73601e4 commit 95acfb4
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions docs/how-to-guides/running-feast-in-production.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,17 +257,6 @@ online_store:
connection_string: ${REDIS_CONNECTION_STRING}
```
It is possible to set a default value if the environment variable is not set, with `${ENV_VAR:"default"}`. For instance:

```yaml
project: my_project
registry: data/registry.db
provider: local
online_store:
type: redis
connection_string: ${REDIS_CONNECTION_STRING:"0.0.0.0:6379"}
```

***
## Summary
Expand Down

0 comments on commit 95acfb4

Please sign in to comment.