From 7d609f6a27a2c2dee3a6e9e0015c3338b642fb63 Mon Sep 17 00:00:00 2001 From: kbatra Date: Thu, 13 Jul 2023 16:39:40 -0700 Subject: [PATCH] chore: add redis conf Signed-off-by: kbatra --- udf/anomaly-detection/src/connectors/sentinel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/udf/anomaly-detection/src/connectors/sentinel.py b/udf/anomaly-detection/src/connectors/sentinel.py index 675b7ce0..062b5395 100644 --- a/udf/anomaly-detection/src/connectors/sentinel.py +++ b/udf/anomaly-detection/src/connectors/sentinel.py @@ -89,7 +89,7 @@ def get_redis_client_from_conf(redis_conf: RedisConf = None, **kwargs) -> redis_ Redis client instance """ if not redis_conf: - redis_conf = ConfigManager.get_redis_config() + redis_conf = ConfigManager.get_pipeline_config().redis_conf return get_redis_client( redis_conf.host,