1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-11 05:17:41 +03:00

feature #1791: Fix wrong label for disks

This commit is contained in:
Ruben S. Montero 2013-03-13 22:52:13 +01:00
parent 62698538e3
commit 52ce0d0dc4

View File

@ -2528,11 +2528,11 @@ int VirtualMachine::set_saveas_state(int disk_id, bool hot)
{
if (hot)
{
disk->replace("SAVE_AS_ACTIVE", "YES");
disk->replace("HOTPLUG_SAVE_AS_ACTIVE", "YES");
}
else
{
disk->replace("HOTPLUG_SAVE_AS_ACTIVE", "YES");
disk->replace("SAVE_AS_ACTIVE", "YES");
}
}