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

feature #206: Check Vnet update return codes

This commit is contained in:
Carlos Martin and Ruben S. Montero 2010-05-03 16:01:22 +02:00 committed by Ruben S. Montero
parent 31dad56bfc
commit 9adc81d8f0

View File

@ -372,10 +372,12 @@ int VirtualNetwork::update(SqlDB * db)
// Update the template first
rc = vn_template.update(db);
// TODO tratar error <<<================
rc = insert_replace(db, true);
// TODO tratar error <<<================
if ( rc == 0 )
{
rc = insert_replace(db, true);
}
return rc;
}