mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
qa/tasks/daemonwatchdog: fix unbound variable in bark_reason message
Introduced in commit 783f0e3a99 ("qa: Adding a new class for the
daemonwatchdog to monitor").
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
parent
5ccdd6ad16
commit
b4c0377d44
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user