]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: whitespace before ':' (E203)
authorMichael Fritch <mfritch@suse.com>
Wed, 17 Feb 2021 03:50:10 +0000 (20:50 -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 f2f76a25179743f46bd9981d141fc8277799addd)

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

index 172ebbc64af0062c4714325e4aa437d5a9d8b557..94fecde3cea4d9b9e33c0ba7cc82fe01288337be 100755 (executable)
@@ -334,7 +334,7 @@ class NFSGanesha(object):
     required_files = ['ganesha.conf']
 
     port_map = {
-        "nfs" : 2049,
+        "nfs": 2049,
     }
 
     def __init__(self,
@@ -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 c7a4843dcb816a39b5494eba914c38552078e86d..b7390220e36dac1ddd743ff4ab8f1d60d1dc6a9a 100644 (file)
@@ -5,7 +5,6 @@ skipsdist=true
 [flake8]
 max-line-length = 100
 ignore =
-    E203,
     E225,
     E226,
     E231,