mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
solved a bug when removing a network and then adding a new one
git-svn-id: http://svn.opennebula.org/one/trunk@238 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
parent
6c722bc64d
commit
aaf6abc70d
@ -239,7 +239,7 @@ int VirtualNetwork::insert(SqliteDB * db)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Insert the template first
|
// Insert the template first
|
||||||
rc = vn_template.insert(db);
|
rc = vn_template.update(db);
|
||||||
|
|
||||||
if ( rc != 0 )
|
if ( rc != 0 )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user