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:
parent
31dad56bfc
commit
9adc81d8f0
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user