o-nikolas commented on code in PR #53990:
URL: https://github.com/apache/airflow/pull/53990#discussion_r2246436331


##########
providers/amazon/src/airflow/providers/amazon/aws/executors/aws_lambda/lambda_executor.py:
##########
@@ -398,8 +398,8 @@ def process_queue(self, queue_url: str):
                 self.log.warning("Deleting the message to avoid processing it 
again.")
                 self.sqs_client.delete_message(QueueUrl=queue_url, 
ReceiptHandle=receipt_handle)
                 continue
-            return_code = body.get("return_code")
             ser_task_key = body.get("task_key")
+            return_code = body.get("return_code")

Review Comment:
   Small nit: but these don't really need to be swapped right?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to