Skip to content

Commit

Permalink
CV2-5589 fix bad variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
DGaffney committed Nov 14, 2024
1 parent d80ada1 commit e504c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/queue/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def receive_messages(self, batch_size: int = 1):
"""
Receive messages from a queue.
"""
queue = self.get_or_create_queue(self.input_queue)
queue = self.get_or_create_queue(self.input_queue_name)
return queue.receive_messages(MaxNumberOfMessages=min(batch_size, SQS_MAX_BATCH_SIZE))

def find_queue_by_name(self, queue_name: str) -> boto3.resources.base.ServiceResource:
Expand Down

0 comments on commit e504c96

Please sign in to comment.