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

index 45562fe4fdd47205beedcdb61ab377be64fb703b..e6392876cc60d0fc9898ecb63b04c69f95747650 100644 (file)
@@ -327,7 +327,9 @@ class CephExporter(ContainerDaemonForm):
 
     def validate(self) -> None:
         if not os.path.isdir(self.sock_dir):
-            raise Error(f'Desired sock dir for ceph-exporter is not directory: {self.sock_dir}')
+            raise Error(
+                f'Desired sock dir for ceph-exporter is not directory: {self.sock_dir}'
+            )
 
     def container(self, ctx: CephadmContext) -> CephContainer:
         ctr = daemon_to_container(ctx, self)