libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1429657 - /libcloud/trunk/libcloud/compute/drivers/ec2.py
Date Mon, 07 Jan 2013 03:27:13 GMT
Author: tomaz
Date: Mon Jan  7 03:27:12 2013
New Revision: 1429657

URL: http://svn.apache.org/viewvc?rev=1429657&view=rev
Log:
Also correctly map the state in the sub class.

Modified:
    libcloud/trunk/libcloud/compute/drivers/ec2.py

Modified: libcloud/trunk/libcloud/compute/drivers/ec2.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/drivers/ec2.py?rev=1429657&r1=1429656&r2=1429657&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/drivers/ec2.py (original)
+++ libcloud/trunk/libcloud/compute/drivers/ec2.py Mon Jan  7 03:27:12 2013
@@ -1405,7 +1405,7 @@ class EC2NodeDriver(BaseEC2NodeDriver):
     NODE_STATE_MAP = {
         'pending': NodeState.PENDING,
         'running': NodeState.RUNNING,
-        'shutting-down': NodeState.TERMINATED,
+        'shutting-down': NodeState.UNKNOWN,
         'terminated': NodeState.TERMINATED
     }
 



Mime
View raw message