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:
parent
62698538e3
commit
52ce0d0dc4
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user