KevinYang21 commented on a change in pull request #5037: [AIRFLOW-4237] 
Including Try Number of Task in Gantt Chart
URL: https://github.com/apache/airflow/pull/5037#discussion_r284040188
 
 

 ##########
 File path: airflow/www/views.py
 ##########
 @@ -1755,6 +1766,9 @@ def gantt(self, session=None):
             start_date = gantt_bar_item[1]
             end_date = gantt_bar_item[2]
             state = gantt_bar_item[3]
+            count = ti.try_number
 
 Review comment:
   Do we have a reason to calculate count twice?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to