diff options
| author | Chris Behrens <cbehrens@codestud.com> | 2011-06-29 12:23:26 -0700 |
|---|---|---|
| committer | Chris Behrens <cbehrens@codestud.com> | 2011-06-29 12:23:26 -0700 |
| commit | 851802e772095b646a7570bf0cc0c6d32be4643c (patch) | |
| tree | 96ccd72a48cae858f3d35b18d06500c26adf8fe8 /nova/compute | |
| parent | 6af4a9ded53efe4ca5c3aad1f3a621cc73513fb0 (diff) | |
Fixed indentation issues
Fixed min/max_count checking issues
Fixed a wrongly log message when zone aware scheduler finds no suitable hosts
Diffstat (limited to 'nova/compute')
| -rw-r--r-- | nova/compute/api.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py index 1092ec727..92b87e75c 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -657,12 +657,13 @@ class API(base.Base): return instances admin_context = context.elevated() - children = scheduler_api.call_zone_method(admin_context, "list", - novaclient_collection_name="servers", - reservation_id=reservation_id, - project_id=project_id, - fixed_ip=fixed_ip, - recurse_zones=True) + children = scheduler_api.call_zone_method(admin_context, + "list", + novaclient_collection_name="servers", + reservation_id=reservation_id, + project_id=project_id, + fixed_ip=fixed_ip, + recurse_zones=True) for zone, servers in children: for server in servers: |
