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: