Skip to content

Instantly share code, notes, and snippets.

@vishvananda
Created March 10, 2012 22:23
Show Gist options
  • Save vishvananda/2013611 to your computer and use it in GitHub Desktop.
Save vishvananda/2013611 to your computer and use it in GitHub Desktop.
diff --git a/nova/api/openstack/compute/contrib/extended_server_attributes.py b/nova/api/openstack/compute/contrib/extended_server_attributes.py
index c1c85c6..a4794d7 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment