diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-03-10 15:31:55 -0800 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-03-10 15:34:33 -0800 |
| commit | c87dce824f81d0ecc0455ae6ed8dfd85fb0bc62a (patch) | |
| tree | 051f10f81877ce4bd11129ad7e82f64b88c3a542 /nova/api | |
| parent | 7322c59ef45d14c94e171bebc2c9bf13710b25a8 (diff) | |
| download | nova-c87dce824f81d0ecc0455ae6ed8dfd85fb0bc62a.tar.gz nova-c87dce824f81d0ecc0455ae6ed8dfd85fb0bc62a.tar.xz nova-c87dce824f81d0ecc0455ae6ed8dfd85fb0bc62a.zip | |
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
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/compute/contrib/extended_server_attributes.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
