From c87dce824f81d0ecc0455ae6ed8dfd85fb0bc62a Mon Sep 17 00:00:00 2001 From: Vishvananda Ishaya Date: Sat, 10 Mar 2012 15:31:55 -0800 Subject: Fixes xml representation of ext_srv_attr extension * adds tests for xml extended_server_attributes * modifies extended_status to match * fixes bug 951863 Change-Id: I54aa55bac9ce62b071e62c510ba1b71f1d5b1288 --- nova/api/openstack/compute/contrib/extended_server_attributes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova/api') diff --git a/nova/api/openstack/compute/contrib/extended_server_attributes.py b/nova/api/openstack/compute/contrib/extended_server_attributes.py index c1c85c62e..a4794d74f 100644 --- a/nova/api/openstack/compute/contrib/extended_server_attributes.py +++ b/nova/api/openstack/compute/contrib/extended_server_attributes.py @@ -69,7 +69,7 @@ class ExtendedServerAttributesController(wsgi.Controller): context = req.environ['nova.context'] if authorize(context): # Attach our slave template to the response object - resp_obj.attach(xml=ExtendedServerAttributesTemplate()) + resp_obj.attach(xml=ExtendedServerAttributeTemplate()) try: instance = self.compute_api.get(context, id) -- cgit