Replace an old use of ec2_id with id in describe_addresses.

This commit is contained in:
Vishvananda Ishaya 2011-01-19 02:58:48 +00:00 committed by Tarmac
commit 604be356a0

View File

@ -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']['ec2_id']
instance_id = floating_ip_ref['fixed_ip']['instance']['id']
ec2_id = id_to_ec2_id(instance_id)
address_rv = {'public_ip': address,
'instance_id': ec2_id}