From: John Mulligan Date: Sat, 9 Mar 2024 16:37:14 +0000 (-0500) Subject: cephadm: black format daemons/ceph.py X-Git-Tag: v19.1.0~165^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bbc6e005eb3f3a8e7b3d58e58af54158709203ff;p=ceph.git cephadm: black format daemons/ceph.py Signed-off-by: John Mulligan (cherry picked from commit 3cd5c237837aaa1841f2675cfe08886606b4dc62) Conflicts: src/cephadm/cephadmlib/daemons/ceph.py --- diff --git a/src/cephadm/cephadmlib/daemons/ceph.py b/src/cephadm/cephadmlib/daemons/ceph.py index 0afb8f734af5..a835cb477c12 100644 --- a/src/cephadm/cephadmlib/daemons/ceph.py +++ b/src/cephadm/cephadmlib/daemons/ceph.py @@ -329,7 +329,9 @@ class CephExporter(ContainerDaemonForm): def validate(self) -> None: if not os.path.isdir(self.sock_dir): - raise Error(f'Directory does not exist. Got: {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)