]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/daemonwatchdog: fix unbound variable in bark_reason message 67353/head
authorIlya Dryomov <idryomov@gmail.com>
Fri, 30 Jan 2026 16:17:52 +0000 (17:17 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 13 Feb 2026 15:50:26 +0000 (16:50 +0100)
Introduced in commit 783f0e3a9903 ("qa: Adding a new class for the
daemonwatchdog to monitor").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
qa/tasks/daemonwatchdog.py

index 7003a6b798598ea4950e979a160b002babb4437c..18b85ac6b1d9f2eb15fa62c33829cb9f0cbae3ae 100644 (file)
@@ -153,7 +153,7 @@ class DaemonWatchdog(Greenlet):
             for thrasher in self.thrashers:
                 if thrasher.exception is not None:
                     self.log("{name} failed".format(name=thrasher.name))
-                    bark_reason = f"Thrasher {name} threw exception {thrasher.exception}"
+                    bark_reason = f"Thrasher {thrasher.name} threw exception {thrasher.exception}"
                     bark = True
 
             for proc in self.watched_processes: