summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/images.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/nova/api/openstack/images.py b/nova/api/openstack/images.py
index bde9507c8..2e3d4f157 100644
--- a/nova/api/openstack/images.py
+++ b/nova/api/openstack/images.py
@@ -267,8 +267,9 @@ class ImageXMLSerializer(wsgi.XMLDictSerializer):
metadata = {
"attributes": {
"image": ["id", "name", "updated", "created", "status",
- "serverId", "progress", "serverRef"],
- "link": ["rel", "type", "href"],
+ "serverId", "progress"],
+ "link": ["rel", "href"],
+ "server": ["name", "id"],
},
}