]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
lock/ops: missing f-prefix in f-string
authorKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Wed, 11 Feb 2026 13:30:32 +0000 (14:30 +0100)
committerKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Wed, 11 Feb 2026 13:30:32 +0000 (14:30 +0100)
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
teuthology/lock/ops.py

index fb27313f3e0a4177073e78c0f4c7c4201466d550..0acc6b62eb64912b0975fa0cf5329b35dcbb839f 100644 (file)
@@ -198,7 +198,7 @@ def unlock_one_safe(name: str, owner: str, run_name: str = "", job_id: str = "")
         return unlock_one(name, owner, node_status["description"], node_status)
     if run_name:
         if job_id and not maybe_job.endswith(f"{run_name}/{job_id}"):
-            log.info("Not unlocking {name} since it is running {maybe_job}, not {run_name}/{job_id}")
+            log.info(f"Not unlocking {name} since it is running {maybe_job}, not {run_name}/{job_id}")
             return False
         elif not job_id and not maybe_job.endswith(run_name):
             log.info(f"Not unlocking {name} since it is running {maybe_job}, not {run_name}")