Skip to content

Commit

Permalink
fixed usage
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderegg committed Nov 26, 2024
1 parent 0fd6e64 commit d7e70fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
async def _subscribe_to_rabbitmq(app) -> str:
with log_context(_logger, logging.INFO, msg="Subscribing to rabbitmq channel"):
rabbit_client: RabbitMQClient = get_rabbitmq_client(app)
subscribed_queue: str = await rabbit_client.subscribe(
subscribed_queue, _ = await rabbit_client.subscribe(
DynamicServiceRunningMessage.get_channel_name(),
message_handler=functools.partial(
process_dynamic_service_running_message, app
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
async def _subscribe_to_rabbitmq(app) -> str:
with log_context(_logger, logging.INFO, msg="Subscribing to rabbitmq channel"):
rabbit_client: RabbitMQClient = get_rabbitmq_client(app)
subscribed_queue: str = await rabbit_client.subscribe(
subscribed_queue, _ = await rabbit_client.subscribe(
RabbitResourceTrackingBaseMessage.get_channel_name(),
message_handler=functools.partial(process_message, app),
exclusive_queue=False,
Expand Down

0 comments on commit d7e70fb

Please sign in to comment.