Skip to content

Commit

Permalink
Fix the RabbitMQ running check
Browse files Browse the repository at this point in the history
  • Loading branch information
t-persson committed Aug 30, 2024
1 parent 4847e0d commit 25ead23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etos_test_runner/lib/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def publish(self, event: dict):
return
if self.publisher is None:
return
if not self.publisher.started:
if not self.publisher.running:
self.publisher.start()
routing_key = f"{self.identifier}.event.{event.get('event')}"
self.publisher.send_event(event, routing_key=routing_key)

0 comments on commit 25ead23

Please sign in to comment.