From 25e99b4807d0ff3a8f27875a5c8124be9f14b97f Mon Sep 17 00:00:00 2001 From: Kushal Batra <34571348+s0nicboOm@users.noreply.github.com> Date: Thu, 13 Jul 2023 17:10:02 -0700 Subject: [PATCH] Redis conf (#232) Update 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,