]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: black format container_daemon_form.py
authorJohn Mulligan <jmulligan@redhat.com>
Sat, 9 Mar 2024 16:35:30 +0000 (11:35 -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/container_daemon_form.py

index cab57871b8de0712b4c6aa5d474ce5706e1e5734..8696c9cbd66fd0182c2106fa010f6fb06dd9a5d0 100644 (file)
@@ -40,7 +40,9 @@ class ContainerDaemonForm(DaemonForm):
         """
         return []
 
-    def sidecar_containers(self, ctx: CephadmContext) -> List[SidecarContainer]:
+    def sidecar_containers(
+        self, ctx: CephadmContext
+    ) -> List[SidecarContainer]:
         """Returns a list of sidecar containers that should be executed along
         with the primary service container.
         """
@@ -167,7 +169,9 @@ def daemon_to_container(
         ctx.container_engine.update_mounts(ctx, container_mounts)
     if auto_podman_args and _is_podman:
         container_args.extend(
-            ctx.container_engine.service_args(ctx, daemon.identity.service_name)
+            ctx.container_engine.service_args(
+                ctx, daemon.identity.service_name
+            )
         )
 
     return CephContainer.for_daemon(