deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <di...@fast.au.fujitsu.com>
Subject [PATCH] Fgcp: fix typo in error state transition definition
Date Thu, 24 Jan 2013 12:06:27 GMT
From: Dies Koper <diesk@fast.au.fujitsu.com>

---
 server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb b/server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb
index 558771b..716ac85 100644
--- a/server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb
+++ b/server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb
@@ -60,7 +60,7 @@ class FgcpDriver < Deltacloud::BaseDriver
     stopping.to( :stopped )       .automatically  # stopping an instance does not automatically
destroy it
     stopped.to(:running)          .on( :start )   # obvious
     stopped.to(:finish)           .on( :destroy ) # only destroy removes an instance, and
it has to be stopped first
-    error.from( :pending :starting, :running, :stopping) # not including STOP_ERROR and START_ERROR
as they are as :running and :stopped
+    error.from( :pending, :running, :stopping)    # not including STOP_ERROR and START_ERROR
as they are as :running and :stopped
   end
 
   ######################################################################
-- 
1.8.0.msysgit.0



Mime
View raw message