Replace an old use of ec2_id with id in describe_addresses.
This commit is contained in:
commit
604be356a0
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user