diff options
| author | John Tran <jtran@attinteractive.com> | 2011-06-10 10:28:03 -0700 |
|---|---|---|
| committer | John Tran <jtran@attinteractive.com> | 2011-06-10 10:28:03 -0700 |
| commit | 0e7a2042cc5922bb014a77080ec0bdb93bbf575c (patch) | |
| tree | 9e59aae0ef91b264f93b98a32eb977736b8788d0 /nova/api | |
| parent | e763a0ac8981bdbee44c054c6be08b9f1a5d634d (diff) | |
| download | nova-0e7a2042cc5922bb014a77080ec0bdb93bbf575c.tar.gz nova-0e7a2042cc5922bb014a77080ec0bdb93bbf575c.tar.xz nova-0e7a2042cc5922bb014a77080ec0bdb93bbf575c.zip | |
raise instance instead of class
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 84a83d8e6..5ed473b73 100644 --- a/nova/api/ec2/cloud.py +++ b/nova/api/ec2/cloud.py @@ -878,7 +878,7 @@ class CloudController(object): return {'publicIp': public_ip} except rpc.RemoteError as ex: if ex.exc_type == 'NoMoreAddresses': - raise exception.NoFloatingIpsDefined + raise exception.NoFloatingIpsDefined() else: raise |
