]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: fix f-string expression formatting
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 1 Nov 2024 18:35:57 +0000 (14:35 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 4 Nov 2024 20:38:43 +0000 (15:38 -0500)
Fix extra white space found in a f-string that was flagged by a newer
version of flake8.

Part of an effort to get ceph tox environments passing on Python 3.12.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadmlib/daemon_identity.py

index 52a18092bf0bc8429163cf55f53b8346167ef70f..bfe1a855186dad68f456fd05493f633818ed0d72 100644 (file)
@@ -157,7 +157,7 @@ class DaemonSubIdentity(DaemonIdentity):
         )
 
     def sidecar_script(self, base_data_dir: Union[str, os.PathLike]) -> str:
-        sname = f'sidecar-{ self.subcomponent }.run'
+        sname = f'sidecar-{self.subcomponent}.run'
         return str(pathlib.Path(self.data_dir(base_data_dir)) / sname)
 
     @property