incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@redhat.com
Subject [PATCH] very minor fix to ec2 driver for reporting when instance is terminated - removes the ability to 'start' a terminated instance
Date Tue, 07 Dec 2010 16:15:23 GMT
From: marios <marios@redhat.com>

---
 server/lib/deltacloud/drivers/ec2/ec2_driver.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
index fff3663..fb5a0f4 100644
--- a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
+++ b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
@@ -574,7 +574,7 @@ class EC2Driver < Deltacloud::BaseDriver
   def convert_state(ec2_state)
     case ec2_state
     when "terminated"
-      "STOPPED"
+      "TERMINATED"
     when "stopped"
       "STOPPED"
     when "running"
-- 
1.7.2.3


Mime
View raw message