mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 11:22:55 +09:00
Move host & image vms collection xml element order
(cherry picked from commit 18921ed91c)
This commit is contained in:
1 parent
bc61fa78ed
commit
d2331ea52b
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user