Fixed indentation issues

Fixed min/max_count checking issues
Fixed a wrongly log message when zone aware scheduler finds no suitable hosts
This commit is contained in:
Chris Behrens
2011-06-29 12:23:26 -07:00
parent 520ebdd9ff
commit 23f51be9b6

View File

@@ -245,7 +245,7 @@ class ZoneAwareScheduler(driver.Scheduler):
# may have been consumed from a previous build..
host_list = self.filter_hosts(topic, request_spec, host_list)
if not host_list:
LOG.warn(_("Ran out of available hosts after weighing "
LOG.warn(_("Filter returned no hosts after processing "
"%(i)d of %(num_instances)d instances") % locals())
break