From: Michael Fritch Date: Wed, 17 Feb 2021 04:08:39 +0000 (-0700) Subject: cephadm: multiple spaces after ',' (E241) X-Git-Tag: v17.1.0~2749^2~23 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d2bb74a8964ecb0f995874335e20a7f2fda1b3f1;p=ceph.git cephadm: multiple spaces after ',' (E241) Signed-off-by: Michael Fritch --- diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index 127bede65c3c..30e44b17f2cb 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -2657,7 +2657,7 @@ def deploy_daemon_units( # add nfs to the rados grace db nfs_ganesha = NFSGanesha.init(ctx, fsid, daemon_id) prestart = nfs_ganesha.get_rados_grace_container('add') - _write_container_cmd_to_bash(ctx, f, prestart, 'add daemon to rados grace') + _write_container_cmd_to_bash(ctx, f, prestart, 'add daemon to rados grace') elif daemon_type == CephIscsi.daemon_type: f.write(' '.join(CephIscsi.configfs_mount_umount(data_dir, mount=True)) + '\n') ceph_iscsi = CephIscsi.init(ctx, fsid, daemon_id) @@ -3680,7 +3680,7 @@ def prepare_dashboard( # Configure SSL port (cephadm only allows to configure dashboard SSL port) # if the user does not want to use SSL he can change this setting once the cluster is up - cli(["config", "set", "mgr", "mgr/dashboard/ssl_server_port", str(ctx.ssl_dashboard_port)]) + cli(["config", "set", "mgr", "mgr/dashboard/ssl_server_port", str(ctx.ssl_dashboard_port)]) # configuring dashboard parameters logger.info('Enabling the dashboard module...') diff --git a/src/cephadm/tox.ini b/src/cephadm/tox.ini index 82c194616a79..5a21a50b320b 100644 --- a/src/cephadm/tox.ini +++ b/src/cephadm/tox.ini @@ -5,7 +5,6 @@ skipsdist=true [flake8] max-line-length = 100 ignore = - E241, E251, E261, E265,