Return-Path: X-Original-To: apmail-libcloud-notifications-archive@www.apache.org Delivered-To: apmail-libcloud-notifications-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D746B102C7 for ; Sat, 6 Jun 2015 10:23:14 +0000 (UTC) Received: (qmail 65340 invoked by uid 500); 6 Jun 2015 10:23:14 -0000 Delivered-To: apmail-libcloud-notifications-archive@libcloud.apache.org Received: (qmail 65302 invoked by uid 500); 6 Jun 2015 10:23:14 -0000 Mailing-List: contact notifications-help@libcloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@libcloud.apache.org Delivered-To: mailing list notifications@libcloud.apache.org Received: (qmail 65282 invoked by uid 500); 6 Jun 2015 10:23:14 -0000 Delivered-To: apmail-libcloud-commits@libcloud.apache.org Received: (qmail 65279 invoked by uid 99); 6 Jun 2015 10:23:14 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Jun 2015 10:23:14 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 9A56EE01E2; Sat, 6 Jun 2015 10:23:14 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: tomaz@apache.org To: commits@libcloud.apache.org Date: Sat, 06 Jun 2015 10:23:14 -0000 Message-Id: <795d6ff04ee4432eaffdcb143151abac@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/3] libcloud git commit: Updated CloudSigma's NODE_STATE_MAP to use new-ish NodeStates 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 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 Authored: Wed May 13 19:14:47 2015 +0200 Committer: Tomaz Muraus 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,