From: John Mulligan Date: Sat, 9 Mar 2024 16:36:58 +0000 (-0500) Subject: cephadm: black format systemd_unit.py X-Git-Tag: v20.0.0~2366^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=48767dc8f9b1bc673e362beecbfcb0424bf4fcd0;p=ceph.git cephadm: black format systemd_unit.py Signed-off-by: John Mulligan --- diff --git a/src/cephadm/cephadmlib/systemd_unit.py b/src/cephadm/cephadmlib/systemd_unit.py index b0f62b9cbfac..d3543174a8df 100644 --- a/src/cephadm/cephadmlib/systemd_unit.py +++ b/src/cephadm/cephadmlib/systemd_unit.py @@ -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: