diff options
| author | Vishvananda Ishaya <vishvananda@yahoo.com> | 2010-09-10 05:25:57 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@yahoo.com> | 2010-09-10 05:25:57 -0700 |
| commit | 282c1263c610287f1a99d2f84db58f6dcfd03239 (patch) | |
| tree | bc07d0f4141657b2d5f5cbfb798ef1e23ffe5d51 | |
| parent | 290e743e11ed5072e36050edfc9329b6683ba072 (diff) | |
fixed messed up call in metadata
| -rw-r--r-- | nova/endpoint/cloud.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/endpoint/cloud.py b/nova/endpoint/cloud.py index 5ff69edf1..6f8cf94fd 100644 --- a/nova/endpoint/cloud.py +++ b/nova/endpoint/cloud.py @@ -84,7 +84,7 @@ class CloudController(object): def _get_mpi_data(self, project_id): result = {} - for instance in db.instance_get_by_project(project_id): + for instance in db.instance_get_by_project(None, project_id): line = '%s slots=%d' % (instance.fixed_ip['str_id'], INSTANCE_TYPES[instance['instance_type']]['vcpus']) if instance['key_name'] in result: |
