more typos

This commit is contained in:
Chris Behrens
2011-06-23 23:00:15 -07:00
parent c24dcbc30b
commit 8ea7a715d7

View File

@@ -303,8 +303,8 @@ class ZoneAwareScheduler(driver.Scheduler):
for host, services in host_list:
if topic not in services:
continue
if filter_func(host, services['topic'], request_spec):
filtered_hosts.append((host, services['topic']))
if filter_func(host, services[topic], request_spec):
filtered_hosts.append((host, services[topic]))
return filtered_hosts
def weigh_hosts(self, topic, request_spec, hosts):