bug #2273: Add missing POWEROFF state in RESUME "from" parameter

(cherry picked from commit abe5bf6ba7)
This commit is contained in:
Daniel Molina committed 2013-11-18 12:36:47 +01:00
1 parent 456cc4e263
commit 242b04faaf
1 file changed
+1 -1
+1 -1
View File
@@ -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},