libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [1/3] libcloud git commit: Updated CloudSigma's NODE_STATE_MAP to use new-ish NodeStates
Date Sat, 06 Jun 2015 10:23:14 GMT
Repository: libcloud
Updated Branches:
  refs/heads/trunk 13fe5a557 -> 590c7197a


Updated CloudSigma's NODE_STATE_MAP to use new-ish NodeStates

Closes #517

Signed-off-by: Tomaz Muraus <tomaz@tomaz.me>


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/73ea41fd
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/73ea41fd
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/73ea41fd

Branch: refs/heads/trunk
Commit: 73ea41fdf26bd4698b06254e7dce57a92ee81939
Parents: 601526b
Author: Chris O'Brien <chrisob91@gmail.com>
Authored: Wed May 13 19:14:47 2015 +0200
Committer: Tomaz Muraus <tomaz@tomaz.me>
Committed: Tue May 26 23:15:11 2015 +0200

----------------------------------------------------------------------
 libcloud/compute/drivers/cloudsigma.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/73ea41fd/libcloud/compute/drivers/cloudsigma.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/cloudsigma.py b/libcloud/compute/drivers/cloudsigma.py
index 834062c..4611dc6 100644
--- a/libcloud/compute/drivers/cloudsigma.py
+++ b/libcloud/compute/drivers/cloudsigma.py
@@ -984,10 +984,10 @@ class CloudSigma_2_0_NodeDriver(CloudSigmaNodeDriver):
     NODE_STATE_MAP = {
         'starting': NodeState.PENDING,
         'stopping': NodeState.PENDING,
-        'unavailable': NodeState.PENDING,
+        'unavailable': NodeState.ERROR,
         'running': NodeState.RUNNING,
         'stopped': NodeState.STOPPED,
-        'paused': NodeState.STOPPED
+        'paused': NodeState.PAUSED
     }
 
     def __init__(self, key, secret, secure=True, host=None, port=None,


Mime
View raw message