diff options
| author | Anthony Young <sleepsonthefloor@gmail.com> | 2011-08-31 12:23:43 -0700 |
|---|---|---|
| committer | Anthony Young <sleepsonthefloor@gmail.com> | 2011-08-31 12:23:43 -0700 |
| commit | ced3ea3e8d7cf02f988d968d6078182815226719 (patch) | |
| tree | a6b97c1f81467678e2f216692679560962f3c4a4 /nova/api | |
| parent | 0571c86d18c242f46e44e380b257cfc40598d31b (diff) | |
| download | nova-ced3ea3e8d7cf02f988d968d6078182815226719.tar.gz nova-ced3ea3e8d7cf02f988d968d6078182815226719.tar.xz nova-ced3ea3e8d7cf02f988d968d6078182815226719.zip | |
fix for chris behrens' comment - move tenant_id => project_id mapping to compute.api.get_all
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/servers.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/nova/api/openstack/servers.py b/nova/api/openstack/servers.py index 3e76fa1a0..5bbb4e52e 100644 --- a/nova/api/openstack/servers.py +++ b/nova/api/openstack/servers.py @@ -107,11 +107,6 @@ class Controller(object): LOG.error(reason) raise exception.InvalidInput(reason=reason) - # translate tenant_id filter to internal project_id - if 'tenant_id' in search_opts: - search_opts['project_id'] = search_opts['tenant_id'] - del search_opts['tenant_id'] - # By default, compute's get_all() will return deleted instances. # If an admin hasn't specified a 'deleted' search option, we need # to filter out deleted instances by setting the filter ourselves. |
