summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorAnthony Young <sleepsonthefloor@gmail.com>2011-08-31 12:23:43 -0700
committerAnthony Young <sleepsonthefloor@gmail.com>2011-08-31 12:23:43 -0700
commitced3ea3e8d7cf02f988d968d6078182815226719 (patch)
treea6b97c1f81467678e2f216692679560962f3c4a4 /nova/api
parent0571c86d18c242f46e44e380b257cfc40598d31b (diff)
downloadnova-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.py5
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.