dlamblin commented on a change in pull request #4163: [AIRFLOW-3319] -
KubernetsExecutor: Need in try_number in labels if getting them later
URL: https://github.com/apache/incubator-airflow/pull/4163#discussion_r240278458
##########
File path: airflow/contrib/kubernetes/worker_configuration.py
##########
@@ -212,7 +212,8 @@ def make_pod(self, namespace, worker_uuid, pod_id, dag_id,
task_id, execution_da
'airflow-worker': worker_uuid,
'dag_id': dag_id,
'task_id': task_id,
- 'execution_date': execution_date
+ 'execution_date': execution_date,
+ 'try_number': str(try_number)
Review comment:
The redundant comma thing would be nice here to my mind.
```suggestion
'try_number': str(try_number),
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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