summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2011-12-05 21:16:40 +0000
committerGerrit Code Review <review@openstack.org>2011-12-05 21:16:40 +0000
commite3ecd38debf3258660e703b065db0799cbbafcfb (patch)
treec2a8bad8ebf39420f51bc738bb6a1150e6cc67c5 /nova/api
parentb3c9a019dca8fc54116999939915298b30c3fbb9 (diff)
parentc25f7e7e832472ea2b5801d041cbf126333b1aaa (diff)
downloadnova-e3ecd38debf3258660e703b065db0799cbbafcfb.tar.gz
nova-e3ecd38debf3258660e703b065db0799cbbafcfb.tar.xz
nova-e3ecd38debf3258660e703b065db0799cbbafcfb.zip
Merge "Implement resize down for XenAPI"
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/v2/servers.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/nova/api/openstack/v2/servers.py b/nova/api/openstack/v2/servers.py
index 5066633be..f41ed9467 100644
--- a/nova/api/openstack/v2/servers.py
+++ b/nova/api/openstack/v2/servers.py
@@ -679,9 +679,6 @@ class Controller(wsgi.Controller):
except exception.CannotResizeToSameSize:
msg = _("Resize requires a change in size.")
raise exc.HTTPBadRequest(explanation=msg)
- except exception.CannotResizeToSmallerSize:
- msg = _("Resizing to a smaller size is not supported.")
- raise exc.HTTPBadRequest(explanation=msg)
return webob.Response(status_int=202)