summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorJesse Andrews <anotherjesse@gmail.com>2011-08-15 02:55:22 -0700
committerJesse Andrews <anotherjesse@gmail.com>2011-08-15 02:55:22 -0700
commitb46320a4175adc4012e60d4eae793a42f3a8186b (patch)
tree286d917faa5fa789419d1ac6d48db49949b69fb0 /nova/api
parent1fe628fbe1f9964ac4536ce1c859d84d9cd8cb08 (diff)
downloadnova-b46320a4175adc4012e60d4eae793a42f3a8186b.tar.gz
nova-b46320a4175adc4012e60d4eae793a42f3a8186b.tar.xz
nova-b46320a4175adc4012e60d4eae793a42f3a8186b.zip
make list response for floating ip match other apis
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/contrib/floating_ips.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/api/openstack/contrib/floating_ips.py b/nova/api/openstack/contrib/floating_ips.py
index c07bfdf09..f6824a601 100644
--- a/nova/api/openstack/contrib/floating_ips.py
+++ b/nova/api/openstack/contrib/floating_ips.py
@@ -43,8 +43,8 @@ def _translate_floating_ip_view(floating_ip):
def _translate_floating_ips_view(floating_ips):
- return {'floating_ips': [_translate_floating_ip_view(floating_ip)
- for floating_ip in floating_ips]}
+ return {'floating_ips': [_translate_floating_ip_view(ip)['floating_ip']
+ for ip in floating_ips]}
class FloatingIPController(object):