]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cephadm: black format systemd_unit.py
authorJohn Mulligan <jmulligan@redhat.com>
Sat, 9 Mar 2024 16:36:58 +0000 (11:36 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 11 Mar 2024 18:29:02 +0000 (14:29 -0400)
Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadmlib/systemd_unit.py

index b0f62b9cbfacded59b3a0a567db07f9280cbe2ec..d3543174a8df39f7d4d4d77affaa2e10e8d389d1 100644 (file)
@@ -78,7 +78,10 @@ def _write_init_containers_unit_file(
 
 
 def _write_sidecar_unit_file(
-    dest: IO, ctx: CephadmContext, primary: DaemonIdentity, sidecar: DaemonSubIdentity
+    dest: IO,
+    ctx: CephadmContext,
+    primary: DaemonIdentity,
+    sidecar: DaemonSubIdentity,
 ) -> None:
     has_docker_engine = isinstance(ctx.container_engine, Docker)
     has_podman_engine = isinstance(ctx.container_engine, Podman)
@@ -128,9 +131,7 @@ def _install_extended_systemd_services(
             difh = estack.enter_context(
                 write_new(pinfo.drop_in_file, perms=None)
             )
-            _write_drop_in(
-                difh, ctx, identity, enable_init_containers, sids
-            )
+            _write_drop_in(difh, ctx, identity, enable_init_containers, sids)
 
 
 def _get_unit_file(ctx: CephadmContext, fsid: str) -> str: