deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Lalancette <clala...@redhat.com>
Subject [PATCH 10/10] Make terremark use "finish" as the last state.
Date Thu, 05 Aug 2010 19:57:24 GMT
Signed-off-by: Chris Lalancette <clalance@redhat.com>
---
 .../drivers/terremark/terremark_driver.rb          |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/lib/deltacloud/drivers/terremark/terremark_driver.rb b/server/lib/deltacloud/drivers/terremark/terremark_driver.rb
index ddf548f..e99d330 100644
--- a/server/lib/deltacloud/drivers/terremark/terremark_driver.rb
+++ b/server/lib/deltacloud/drivers/terremark/terremark_driver.rb
@@ -118,7 +118,7 @@ VAPP_STATE_MAP = { "0" =>  "PENDING", "1" =>  "PENDING", "2" =>
 "STOPPED", "4"
     running.to(:running)          .on( :reboot )
     running.to(:shutting_down)    .on( :stop )
     shutting_down.to(:stopped)    .automatically
-    stopped.to(:end)              .on( :destroy )
+    stopped.to(:finish)           .on( :destroy )
    end
 
 
-- 
1.7.2


Mime
View raw message