Fixing test_servers_by_uuid
This commit is contained in:
@@ -225,13 +225,13 @@ class reroute_compute(object):
|
||||
def __init__(self, method_name):
|
||||
self.method_name = method_name
|
||||
|
||||
def _route_to_child_zones(context, collection, item_uuid):
|
||||
def _route_to_child_zones(self, context, collection, item_uuid):
|
||||
if not FLAGS.enable_zone_routing:
|
||||
raise InstanceNotFound(instance_id=item_uuid)
|
||||
raise exception.InstanceNotFound(instance_id=item_uuid)
|
||||
|
||||
zones = db.zone_get_all(context)
|
||||
if not zones:
|
||||
raise InstanceNotFound(instance_id=item_uuid)
|
||||
raise exception.InstanceNotFound(instance_id=item_uuid)
|
||||
|
||||
# Ask the children to provide an answer ...
|
||||
LOG.debug(_("Asking child zones ..."))
|
||||
|
||||
Reference in New Issue
Block a user