Move host & image vms collection xml element order

(cherry picked from commit 18921ed91c)
This commit is contained in:
Carlos Martín committed 2012-10-25 18:00:31 +02:00
1 parent bc61fa78ed
commit d2331ea52b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -281,8 +281,8 @@ string& Host::to_xml(string& xml) const
"<CLUSTER_ID>" << cluster_id << "</CLUSTER_ID>" <<
"<CLUSTER>" << cluster << "</CLUSTER>" <<
host_share.to_xml(share_xml) <<
obj_template->to_xml(template_xml) <<
vm_collection.to_xml(vm_collection_xml) <<
obj_template->to_xml(template_xml) <<
"</HOST>";
xml = oss.str();
+1 -1
View File
@@ -342,8 +342,8 @@ string& Image::to_xml(string& xml) const
"<CLONING_ID>" << cloning_id << "</CLONING_ID>" <<
"<DATASTORE_ID>" << ds_id << "</DATASTORE_ID>"<<
"<DATASTORE>" << ds_name << "</DATASTORE>" <<
obj_template->to_xml(template_xml) <<
vm_collection.to_xml(vm_collection_xml) <<
obj_template->to_xml(template_xml) <<
"</IMAGE>";
xml = oss.str();