1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-24 21:34:01 +03:00

feature-#206: History is updated now, not inserted.

This commit is contained in:
Tino Vázquez 2010-05-03 19:29:08 +02:00
parent 445a92b5a1
commit 28c7f107db

View File

@ -893,7 +893,7 @@ private:
{ {
if ( history != 0 ) if ( history != 0 )
{ {
return history->insert(db); return history->update(db);
} }
else else
return -1; return -1;
@ -908,7 +908,7 @@ private:
{ {
if ( previous_history != 0 ) if ( previous_history != 0 )
{ {
return previous_history->insert(db); return previous_history->update(db);
} }
else else
return -1; return -1;