]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: multiple spaces after ',' (E241)
authorMichael Fritch <mfritch@suse.com>
Wed, 17 Feb 2021 04:08:39 +0000 (21:08 -0700)
committerSage Weil <sage@newdream.net>
Tue, 16 Mar 2021 12:56:16 +0000 (07:56 -0500)
Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit d2bb74a8964ecb0f995874335e20a7f2fda1b3f1)

src/cephadm/cephadm
src/cephadm/tox.ini

index d46fa9812458ffc3d537d47c8280530c4e4aeb99..83d7a2563890f9d7cf2fdfcfe040713307be42f5 100755 (executable)
@@ -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...')
index 82c194616a79816f666d85245bc3f947424d1786..5a21a50b320b65286118557fcb2c8942e526c49c 100644 (file)
@@ -5,7 +5,6 @@ skipsdist=true
 [flake8]
 max-line-length = 100
 ignore =
-    E241,
     E251,
     E261,
     E265,