mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 03:42:52 +09:00
Feature #2565: Bug in group::from_xml
This commit is contained in:
1 parent
92eb10fe7c
commit
6b9e09f3c8
1 file changed
+2
-2
+2
-2
@@ -294,8 +294,8 @@ int Group::from_xml(const string& xml)
|
||||
|
||||
int zone_id, cluster_id;
|
||||
|
||||
rc += tmp_xml.xpath(zone_id, "RESOURCE_PROVIDER/ZONE_ID", -1);
|
||||
rc += tmp_xml.xpath(cluster_id, "RESOURCE_PROVIDER/CLUSTER_ID", -1);
|
||||
rc += tmp_xml.xpath(zone_id, "/RESOURCE_PROVIDER/ZONE_ID", -1);
|
||||
rc += tmp_xml.xpath(cluster_id, "/RESOURCE_PROVIDER/CLUSTER_ID", -1);
|
||||
|
||||
providers.insert(pair<int,int>(zone_id, cluster_id));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user