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 2018/12/19 05:34:18 UTC
[16/21] libcloud git commit: Fixed lint issues
Fixed lint issues
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/d20f40bd
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/d20f40bd
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/d20f40bd
Branch: refs/heads/trunk
Commit: d20f40bdf5d243a2fd1a5a097635c8f84905c317
Parents: cf27a09
Author: mitch <mi...@itaas.dimensiondata.com>
Authored: Tue Dec 18 17:47:57 2018 -0500
Committer: mitch <mi...@itaas.dimensiondata.com>
Committed: Tue Dec 18 17:47:57 2018 -0500
----------------------------------------------------------------------
libcloud/compute/drivers/nttcis.py | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/d20f40bd/libcloud/compute/drivers/nttcis.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/nttcis.py b/libcloud/compute/drivers/nttcis.py
index 2b86fda..bf17c84 100644
--- a/libcloud/compute/drivers/nttcis.py
+++ b/libcloud/compute/drivers/nttcis.py
@@ -4651,8 +4651,8 @@ class NttCisNodeDriver(NodeDriver):
# DRS methods
def ex_create_consistency_group(self, name, journal_size_gb,
- source_server_id, target_server_id,
- description=None):
+ source_server_id, target_server_id,
+ description=None):
"""
Create a consistency group
@@ -4727,8 +4727,8 @@ class NttCisNodeDriver(NodeDriver):
return cg
def ex_list_consistency_group_snapshots(self, consistency_group_id,
- create_time_min=None,
- create_time_max=None):
+ create_time_min=None,
+ create_time_max=None):
"""
Optional parameters identify the date of creation of Consistency Group
snapshots in *XML Schema (XSD) date time format. Best used as a
@@ -4798,7 +4798,8 @@ class NttCisNodeDriver(NodeDriver):
response_code = findtext(response, 'responseCode', TYPES_URN)
return response_code in ['IN_PROGRESS', 'OK']
- def ex_start_drs_failover_preview(self, consistency_group_id, snapshot_id):
+ def ex_start_drs_failover_preview(self, consistency_group_id,
+ snapshot_id):
"""
Brings a Consistency Group into PREVIEWING_SNAPSHOT mode