diff options
| author | Masanori Itoh <itoumsn@nttdata.co.jp> | 2011-04-05 18:43:11 +0900 |
|---|---|---|
| committer | Masanori Itoh <itoumsn@nttdata.co.jp> | 2011-04-05 18:43:11 +0900 |
| commit | 7702affdbf09127e3e7cdfafcb6382673914438e (patch) | |
| tree | 627f39bb0e5f8b1b03d8abc5f4923b9413648476 /nova/api | |
| parent | c0a8904508edb0687b588d40a7bd181d0393884f (diff) | |
Remove <addressSet> and <item> from AllocateAddress response, and fix bug #751176.
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/ec2/cloud.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py index 425784e8a..3b333437b 100644 --- a/nova/api/ec2/cloud.py +++ b/nova/api/ec2/cloud.py @@ -777,7 +777,7 @@ class CloudController(object): def allocate_address(self, context, **kwargs): LOG.audit(_("Allocate address"), context=context) public_ip = self.network_api.allocate_floating_ip(context) - return {'addressSet': [{'publicIp': public_ip}]} + return {'publicIp': public_ip} def release_address(self, context, public_ip, **kwargs): LOG.audit(_("Release address %s"), public_ip, context=context) |
