You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by lu...@apache.org on 2010/07/09 01:22:41 UTC

svn commit: r962097 - /incubator/deltacloud/trunk/drivers/rhevm/lib/rhevm_driver.rb

Author: lutter
Date: Thu Jul  8 23:22:41 2010
New Revision: 962097

URL: http://svn.apache.org/viewvc?rev=962097&view=rev
Log:
state name changes.

Modified:
    incubator/deltacloud/trunk/drivers/rhevm/lib/rhevm_driver.rb

Modified: incubator/deltacloud/trunk/drivers/rhevm/lib/rhevm_driver.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/drivers/rhevm/lib/rhevm_driver.rb?rev=962097&r1=962096&r2=962097&view=diff
==============================================================================
--- incubator/deltacloud/trunk/drivers/rhevm/lib/rhevm_driver.rb (original)
+++ incubator/deltacloud/trunk/drivers/rhevm/lib/rhevm_driver.rb Thu Jul  8 23:22:41 2010
@@ -147,14 +147,14 @@ class RHEVMDriver < DeltaCloud::BaseDriv
 
   STATE_ACTIONS = [
     [ :pending, {
-        :terminated=>:stop,
+        :stopped=>:stop,
         :running=>:_auto_ } ],
     [ :running, {
         :running=>:reboot,
-        :terminated=>:stop } ],
+        :stopped=>:stop } ],
     [ :shutting_down, {
-        :terminated=>:_auto_ } ],
-    [ :terminated, {
+        :stopped=>:_auto_ } ],
+    [ :stopped, {
         :running=>:start,
         :destroyed=>:destroy }],
   ]