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

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

Fixes feast-dev#3669

Signed-off-by: Theodor Mihalache <tmihalac@redhat.com>
  • Loading branch information
tmihalac committed Apr 23, 2024
1 parent 9537946 commit 21d1039
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 21d1039

Please sign in to comment.