diff options
| author | Ken Pepple <ken.pepple@gmail.com> | 2011-02-10 10:28:52 -0800 |
|---|---|---|
| committer | Ken Pepple <ken.pepple@gmail.com> | 2011-02-10 10:28:52 -0800 |
| commit | d601471f54de5db95cf06f4a558362f90cc65c6b (patch) | |
| tree | 908f2def904744d419f799c8f3af5f9597a11888 | |
| parent | 493d4d73ce427a686a674e00a2090d5aaec55a46 (diff) | |
typo
| -rw-r--r-- | nova/compute/api.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py index 9c83cfd16..5d6a42a6b 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -89,10 +89,7 @@ class API(base.Base): """Create the number of instances requested if quota and other arguments check out ok.""" - # FIXME(kpepple) this needs to be factored for api.py:2065 refactor type_data = instance_types.get_instance_type(instance_type) - # type_data = db.instance_type_get_by_name(context,\ - # instance_type) num_instances = quota.allowed_instances(context, max_count, type_data) if num_instances < min_count: pid = context.project_id |
