mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-27 14:03:40 +03:00
bug #2273: Add missing POWEROFF state in RESUME "from" parameter
This commit is contained in:
parent
d4572f66a0
commit
abe5bf6ba7
@ -68,7 +68,7 @@ class VirtualMachineOCCI < VirtualMachine
|
||||
OCCI_ACTION = {
|
||||
"STOPPED" => { :from => ["ACTIVE"], :action => :stop},
|
||||
"SUSPENDED" => { :from => ["ACTIVE"], :action => :suspend},
|
||||
"RESUME" => { :from => ["STOPPED", "SUSPENDED"], :action => :resume},
|
||||
"RESUME" => { :from => ["STOPPED", "SUSPENDED", "POWEROFF"], :action => :resume},
|
||||
"CANCEL" => { :from => ["ACTIVE"], :action => :cancel},
|
||||
"REBOOT" => { :from => ["ACTIVE"], :action => :reboot},
|
||||
"RESET" => { :from => ["ACTIVE"], :action => :reset},
|
||||
|
Loading…
x
Reference in New Issue
Block a user