summaryrefslogtreecommitdiff
path: root/openstack/common/rpc/matchmaker_redis.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstack/common/rpc/matchmaker_redis.py')
-rw-r--r--openstack/common/rpc/matchmaker_redis.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/rpc/matchmaker_redis.py b/openstack/common/rpc/matchmaker_redis.py
index 215ab9e3..0ea69df0 100644
--- a/openstack/common/rpc/matchmaker_redis.py
+++ b/openstack/common/rpc/matchmaker_redis.py
@@ -109,7 +109,7 @@ class MatchMakerRedis(mm_common.HeartbeatMatchMakerBase):
# If we could not update the expiration, the key
# might have been pruned. Re-register, creating a new
# key in Redis.
- self.register(self.host_topic[host], host)
+ self.register(key, host)
def is_alive(self, topic, host):
ttl = self.redis.ttl(host)