From 257b2d4c108d656c06d72fafd6eae9264602c60d Mon Sep 17 00:00:00 2001 From: Farbod Saghafi Date: Thu, 29 Aug 2024 11:09:15 +0330 Subject: [PATCH] Function call issue for parsin sentinel_fallback --- gnocchi/common/redis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnocchi/common/redis.py b/gnocchi/common/redis.py index be125075c..e8a05834d 100644 --- a/gnocchi/common/redis.py +++ b/gnocchi/common/redis.py @@ -119,7 +119,7 @@ ] -def _parse_sentinel(cls, sentinel): +def _parse_sentinel(sentinel): # IPv6 (eg. [::1]:6379 ) match = re.search(r'^\[(\S+)\]:(\d+)$', sentinel) if match: