We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdb21c5 commit d99bab1Copy full SHA for d99bab1
scheduler/agent_check.py
@@ -90,5 +90,4 @@ def _send_agent_status_change_event(self, agent: Agent, new_status: AgentStatus)
90
latest_event_timestamp=agent.latest_event_timestamp,
91
)
92
93
- with self.event_producer as producer:
94
- producer.produce(self.kafka_topic, event)
+ self.event_producer.produce(self.kafka_topic, event)
0 commit comments