You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2017/04/10 03:03:47 UTC
[12/14] libcloud git commit: Modify for CI
Modify for CI
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/6b940385
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/6b940385
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/6b940385
Branch: refs/heads/trunk
Commit: 6b940385fce64c067f287007319538b7edfdbbeb
Parents: 3f3f231
Author: Jie Ren <sn...@126.com>
Authored: Mon Feb 27 10:58:26 2017 +0800
Committer: Anthony Shaw <an...@apache.org>
Committed: Mon Apr 10 13:02:22 2017 +1000
----------------------------------------------------------------------
libcloud/compute/drivers/ecs.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/6b940385/libcloud/compute/drivers/ecs.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/ecs.py b/libcloud/compute/drivers/ecs.py
index 60ea195..14134e2 100644
--- a/libcloud/compute/drivers/ecs.py
+++ b/libcloud/compute/drivers/ecs.py
@@ -916,7 +916,7 @@ class ECSDriver(NodeDriver):
"""
if group_id is None:
raise AttributeError('group_id is required')
-
+
if (node.state != NodeState.RUNNING) and \
(node.state != NodeState.STOPPED):
raise LibcloudError('The node state with id % s need\