]> 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)
committerMichael Fritch <mfritch@suse.com>
Wed, 3 Mar 2021 16:33:29 +0000 (09:33 -0700)
Signed-off-by: Michael Fritch <mfritch@suse.com>
src/cephadm/cephadm
src/cephadm/tox.ini

index 127bede65c3cdb58e32c46f60eeefed6eb86c7de..30e44b17f2cbfc98b4f66e6a64544d0b8d4eca48 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,