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 (feast-dev#4136)

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>
Signed-off-by: Lokesh Rangineni <lokeshforjava@gmail.com>
  • Loading branch information
tmihalac authored and lokeshrangineni committed Apr 25, 2024
1 parent 7d0d05a commit 0310a2c
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 0310a2c

Please sign in to comment.