Skip to content

Commit c3294a9

Browse files
committed
AbstractController/check_component: broadcast managed component check status
1 parent e7eca46 commit c3294a9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

hyperion/manager.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,9 @@ def check_component(self, comp: Component, broadcast: bool = True) -> config.Che
750750
State of the component
751751
"""
752752

753-
if self.mon_thread.is_component_monitored(comp['id']):
753+
if self.mon_thread.is_component_monitored(comp["id"]):
754+
if broadcast:
755+
self.broadcast_event(events.CheckEvent(comp["id"], config.CheckState.RUNNING))
754756
return config.CheckState.RUNNING
755757

756758
try:

0 commit comments

Comments
 (0)