1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-05 09:17:41 +03:00

feature #407: Minor change in host allocate

This commit is contained in:
Ruben S. Montero 2011-03-25 19:21:13 +01:00
parent 27341b66cf
commit dd17d6db5c

View File

@ -171,8 +171,7 @@ int HostPool::allocate (
{
goto error_duplicated;
}
else
{
// Build a new Host object
host = new Host(-1,
@ -185,7 +184,6 @@ int HostPool::allocate (
// Insert the Object in the pool
*oid = PoolSQL::allocate(host, error_str);
}
return *oid;