Skip to content

Commit

Permalink
fix redis cluster materialization (#1968)
Browse files Browse the repository at this point in the history
Signed-off-by: qooba <dev@qooba.net>
  • Loading branch information
qooba authored Oct 25, 2021
1 parent 9359441 commit c59ec58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/feast/infra/online_stores/redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def _get_client(self, online_store_config: RedisOnlineStoreConfig):
startup_nodes, kwargs = self._parse_connection_string(
online_store_config.connection_string
)
if online_store_config.type == RedisType.redis_cluster:
if online_store_config.redis_type == RedisType.redis_cluster:
kwargs["startup_nodes"] = startup_nodes
self._client = RedisCluster(**kwargs)
else:
Expand Down

0 comments on commit c59ec58

Please sign in to comment.