Merge "Fix incorrect attribute name in matchmaker_redis"

This commit is contained in:
Jenkins 2014-12-19 09:53:43 +00:00 committed by Gerrit Code Review
commit 4b1fcd3622
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,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.topic_host[host], host)
self.register(self.host_topic[host], host)
def is_alive(self, topic, host):
if self.redis.ttl(host) == -1: