]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: statement ends with a semicolon (E703)
authorMichael Fritch <mfritch@suse.com>
Thu, 18 Feb 2021 22:24:03 +0000 (15:24 -0700)
committerMichael Fritch <mfritch@suse.com>
Wed, 3 Mar 2021 16:33:31 +0000 (09:33 -0700)
Signed-off-by: Michael Fritch <mfritch@suse.com>
src/cephadm/cephadm
src/cephadm/tox.ini

index b7567da5da5e06955c6191e2961a57e009fa5d86..e5792d8d94ba56b944c1a090023f2597cfc99930 100755 (executable)
@@ -2254,7 +2254,7 @@ def get_container_mounts(ctx, fsid, daemon_type, daemon_id,
 
     if daemon_type in Ceph.daemons:
         if fsid:
-            run_path = os.path.join('/var/run/ceph', fsid);
+            run_path = os.path.join('/var/run/ceph', fsid)
             if os.path.exists(run_path):
                 mounts[run_path] = '/var/run/ceph:z'
             log_dir = get_log_dir(fsid, ctx.log_dir)
@@ -4785,7 +4785,7 @@ def command_adopt(ctx):
 
     # call correct adoption
     if daemon_type in Ceph.daemons:
-        command_adopt_ceph(ctx, daemon_type, daemon_id, fsid);
+        command_adopt_ceph(ctx, daemon_type, daemon_id, fsid)
     elif daemon_type == 'prometheus':
         command_adopt_prometheus(ctx, daemon_id, fsid)
     elif daemon_type == 'grafana':
index f1e081a4af331d51c3ed919571d8edbb48df4db9..32d09664ebe462ffe0287638f44f9a6cfc706651 100644 (file)
@@ -6,7 +6,6 @@ skipsdist=true
 max-line-length = 100
 ignore =
     E501,
-    E703,
     E722,
     E741,
     F401,