Repository: libcloud
Updated Branches:
  refs/heads/trunk de159ec7b -> 776c36448


Set suspended state

Signed-off-by: Rick van de Loo <[email protected]>


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

Branch: refs/heads/trunk
Commit: 5a38095673d385a3b4d8a7e0f430c04e65b179c8
Parents: de159ec
Author: micafer <[email protected]>
Authored: Tue Dec 18 08:44:15 2018 +0100
Committer: Rick van de Loo <[email protected]>
Committed: Tue Dec 18 09:39:47 2018 +0100

----------------------------------------------------------------------
 libcloud/compute/drivers/openstack.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/5a380956/libcloud/compute/drivers/openstack.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/openstack.py 
b/libcloud/compute/drivers/openstack.py
index 1d2ba4b..3483722 100644
--- a/libcloud/compute/drivers/openstack.py
+++ b/libcloud/compute/drivers/openstack.py
@@ -111,7 +111,7 @@ class OpenStackNodeDriver(NodeDriver, OpenStackDriverMixin):
         'BUILD': NodeState.PENDING,
         'REBUILD': NodeState.PENDING,
         'ACTIVE': NodeState.RUNNING,
-        'SUSPENDED': NodeState.STOPPED,
+        'SUSPENDED': NodeState.SUSPENDED,
         'SHUTOFF': NodeState.STOPPED,
         'DELETED': NodeState.TERMINATED,
         'QUEUE_RESIZE': NodeState.PENDING,

Reply via email to