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/21 05:45:18 UTC
[07/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/dc5db469
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/dc5db469
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/dc5db469
Branch: refs/heads/trunk
Commit: dc5db469c835c888c77cdf83a7425e175e5a2e23
Parents: 027cef7
Author: Jie Ren <sn...@126.com>
Authored: Mon Feb 27 10:58:26 2017 +0800
Committer: Jie Ren <sn...@126.com>
Committed: Mon Feb 27 10:58:26 2017 +0800
----------------------------------------------------------------------
libcloud/compute/drivers/ecs.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/dc5db469/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\