diff options
| author | John Tran <jtran@attinteractive.com> | 2011-06-10 11:10:58 -0700 |
|---|---|---|
| committer | John Tran <jtran@attinteractive.com> | 2011-06-10 11:10:58 -0700 |
| commit | 05fecdf873a5c02dcb13c841304df872411d4183 (patch) | |
| tree | 313446be69f8137c451a734c58c21f31bae22a14 /nova/api | |
| parent | 0e7a2042cc5922bb014a77080ec0bdb93bbf575c (diff) | |
| download | nova-05fecdf873a5c02dcb13c841304df872411d4183.tar.gz nova-05fecdf873a5c02dcb13c841304df872411d4183.tar.xz nova-05fecdf873a5c02dcb13c841304df872411d4183.zip | |
added new exception more descriptive of not having available floating addresses avail for allocation
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 5ed473b73..e1c65ae40 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.NoMoreFloatingIps() else: raise |
