1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Adding log message to not VN ownership error.

git-svn-id: http://svn.opennebula.org/one/trunk@682 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
Constantino Vázquez Blanco 2009-07-13 16:51:49 +00:00
parent eb708ee4d4
commit 9a15296c11

View File

@ -669,6 +669,10 @@ int VirtualMachine::get_network_leases()
if ( vn->get_uid() != uid)
{
ostringstream ose;
ose << "Owner [" << uid << "] of the VM doesn't have ownership of Virtual Network ["
<< vn->get_uid() << "]";
Nebula::log("VMM", Log::ERROR, ose);
return -1;
}