summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorJohannes Erdfelt <johannes.erdfelt@rackspace.com>2011-08-11 18:01:37 +0000
committerJohannes Erdfelt <johannes.erdfelt@rackspace.com>2011-08-11 18:01:37 +0000
commit24869338aad2dfd36db9d466820325d1a3ed1adb (patch)
treeb21539db6e5b273d2d08818ed2b3c65fe5fbe332 /nova/api
parentfe0bde67193ce76376e72a7263b89240a63722a8 (diff)
downloadnova-24869338aad2dfd36db9d466820325d1a3ed1adb.tar.gz
nova-24869338aad2dfd36db9d466820325d1a3ed1adb.tar.xz
nova-24869338aad2dfd36db9d466820325d1a3ed1adb.zip
Make PUT /servers/<id> follow the API specs and return a 200 status
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/servers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/servers.py b/nova/api/openstack/servers.py
index 736fdf6ce..0f8e8e461 100644
--- a/nova/api/openstack/servers.py
+++ b/nova/api/openstack/servers.py
@@ -185,7 +185,7 @@ class Controller(object):
except exception.NotFound:
raise exc.HTTPNotFound()
- return exc.HTTPNoContent()
+ return webob.Response() # 200 response
def _parse_update(self, context, id, inst_dict, update_dict):
pass