uranusjr commented on a change in pull request #22184:
URL: https://github.com/apache/airflow/pull/22184#discussion_r825335661



##########
File path: airflow/api_connexion/endpoints/task_instance_endpoint.py
##########
@@ -88,7 +79,7 @@ def get_task_instance(
         )
     if task_instance is None:
         raise NotFound("Task instance not found")
-    if task_instance[0].map_index != -1:
+    if task_instance.map_index != -1:

Review comment:
       I meant to oops the previous implementation; it should not have been 
written that way in the first place 🙂 




-- 
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