mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
feature #212: Fixed some minor bugs
This commit is contained in:
parent
8832b9d8f5
commit
f4a30f95ef
@ -33,7 +33,7 @@ int HostPoolXML::set_up()
|
||||
|
||||
for (it=objects.begin();it!=objects.end();it++)
|
||||
{
|
||||
oss << " " << it->second;
|
||||
oss << " " << it->first;
|
||||
}
|
||||
|
||||
NebulaLog::log("HOST",Log::DEBUG,oss);
|
||||
|
@ -32,7 +32,7 @@ int VirtualMachinePoolXML::set_up()
|
||||
|
||||
for (it=objects.begin();it!=objects.end();it++)
|
||||
{
|
||||
oss << " " << it->second;
|
||||
oss << " " << it->first;
|
||||
}
|
||||
|
||||
NebulaLog::log("VM",Log::DEBUG,oss);
|
||||
@ -54,7 +54,7 @@ void VirtualMachinePoolXML::add_object(xmlNodePtr node)
|
||||
return;
|
||||
}
|
||||
|
||||
xmlChar * str_ptr = xmlNodeGetContent(node->children->next);
|
||||
xmlChar * str_ptr = xmlNodeGetContent(node->children);
|
||||
istringstream iss(reinterpret_cast<char *>(str_ptr));
|
||||
|
||||
int vid;
|
||||
|
Loading…
x
Reference in New Issue
Block a user