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:
parent
27341b66cf
commit
dd17d6db5c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user