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 <[email protected]> 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 <[email protected]> Authored: Wed May 13 19:14:47 2015 +0200 Committer: Tomaz Muraus <[email protected]> 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,
