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

feature #206: VM Template needs to be inserted, not inserted_replaced

This commit is contained in:
Constantino Vázquez Blanco 2010-04-30 12:51:28 +02:00
parent eb07cd9425
commit 3f9611e0ed

View File

@ -304,7 +304,7 @@ int VirtualMachine::insert(SqlDB * db)
// Insert the template first, so we get a valid template ID. Then the VM
// ------------------------------------------------------------------------
rc = vm_template.insert_replace(db, false);
rc = vm_template.insert(db);
if ( rc != 0 )
{