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 2016/10/24 11:05:01 UTC
[3/8] libcloud git commit: Fixed response code missing single quote
Fixed response code missing single quote
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/e04cbe61
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/e04cbe61
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/e04cbe61
Branch: refs/heads/trunk
Commit: e04cbe61262c9f2c3c277f0309d1d2b77ebec0cf
Parents: a6e4543
Author: Samuel Chong <sa...@gmail.com>
Authored: Mon Oct 17 11:18:11 2016 +1100
Committer: Samuel Chong <sa...@gmail.com>
Committed: Mon Oct 17 11:18:11 2016 +1100
----------------------------------------------------------------------
libcloud/compute/drivers/dimensiondata.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/e04cbe61/libcloud/compute/drivers/dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/dimensiondata.py b/libcloud/compute/drivers/dimensiondata.py
index fb90aca..bc8d565 100644
--- a/libcloud/compute/drivers/dimensiondata.py
+++ b/libcloud/compute/drivers/dimensiondata.py
@@ -657,7 +657,7 @@ class DimensionDataNodeDriver(NodeDriver):
if r is not None:
response_code = r.state.upper()
pass
- return response_code in ['IN_PROGRESS', 'OK', 'STOPPED, STOPPING']
+ return response_code in ['IN_PROGRESS', 'OK', 'STOPPED', 'STOPPING']
def ex_reset(self, node):
"""