summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorAnthony Young <sleepsonthefloor@gmail.com>2011-01-18 18:14:03 -0800
committerAnthony Young <sleepsonthefloor@gmail.com>2011-01-18 18:14:03 -0800
commitd5fd7b68d2ec4b4ee3cf6de6b7c10a00300a81a0 (patch)
treee7a9bb2663df78f43a729c381cdd0508981cd02b /nova/api
parent76a4d683d973c7f8120ae6b409d9fd9c09a3ab98 (diff)
parent9d76fb7d6bb88c7b8e1e78d076168ac58a6d978a (diff)
merge vish's changes (which merged trunk and fixed a pep8 problem)
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/ec2/cloud.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py
index c94540793..57d41ed67 100644
--- a/nova/api/ec2/cloud.py
+++ b/nova/api/ec2/cloud.py
@@ -729,7 +729,7 @@ class CloudController(object):
ec2_id = None
if (floating_ip_ref['fixed_ip']
and floating_ip_ref['fixed_ip']['instance']):
- instance_id = floating_ip_ref['fixed_ip']['instance']['id']
+ instance_id = floating_ip_ref['fixed_ip']['instance']['ec2_id']
ec2_id = id_to_ec2_id(instance_id)
address_rv = {'public_ip': address,
'instance_id': ec2_id}