mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
(cherry picked from commit 9507ac628753401f66d70d6a5ad54c5d978e82ae)
This commit is contained in:
parent
8956b82d51
commit
77b8684a8e
@ -1228,13 +1228,6 @@ int ImageManager::revert_snapshot(int iid, int sid, string& error)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (snaps.get_active_id() == sid)
|
||||
{
|
||||
error = "Snapshot is already the active one";
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
/* Format message and send action to driver */
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
Loading…
x
Reference in New Issue
Block a user