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:
parent
445a92b5a1
commit
28c7f107db
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user