Fix indentation errors in drivers
Just some pylint fixes. Change-Id: I1f851726a7c8285884121da097be574c447fa39c
This commit is contained in:
@@ -215,8 +215,8 @@ class DellEQLSanISCSIDriver(SanISCSIDriver):
|
||||
LOG.error(_("Error running SSH command: %s") % command)
|
||||
|
||||
def _eql_execute(self, *args, **kwargs):
|
||||
return self._run_ssh(
|
||||
args, attempts=self.configuration.eqlx_cli_max_retries)
|
||||
return self._run_ssh(
|
||||
args, attempts=self.configuration.eqlx_cli_max_retries)
|
||||
|
||||
def _get_volume_data(self, lines):
|
||||
prefix = 'iSCSI target name is '
|
||||
|
||||
@@ -90,12 +90,12 @@ class SolidFireDriver(SanISCSIDriver):
|
||||
GB = math.pow(2, 30)
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(SolidFireDriver, self).__init__(*args, **kwargs)
|
||||
self.configuration.append_config_values(sf_opts)
|
||||
try:
|
||||
self._update_cluster_status()
|
||||
except exception.SolidFireAPIException:
|
||||
pass
|
||||
super(SolidFireDriver, self).__init__(*args, **kwargs)
|
||||
self.configuration.append_config_values(sf_opts)
|
||||
try:
|
||||
self._update_cluster_status()
|
||||
except exception.SolidFireAPIException:
|
||||
pass
|
||||
|
||||
def _issue_api_request(self, method_name, params, version='1.0'):
|
||||
"""All API requests to SolidFire device go through this method.
|
||||
|
||||
Reference in New Issue
Block a user