BasPH commented on a change in pull request #7663: [AIRFLOW-6997] Fix worker
pods initcontainers
URL: https://github.com/apache/airflow/pull/7663#discussion_r393262661
##########
File path: airflow/contrib/kubernetes/worker_configuration.py
##########
@@ -73,6 +73,13 @@ def _get_init_containers(self):
'name': 'GIT_SYNC_REV',
'value': self.kube_config.git_sync_rev
}]
+
+ for env_var_name, env_var_val in
six.iteritems(self.kube_config.kube_env_vars):
Review comment:
```suggestion
for env_var_name, env_var_val in
self.kube_config.kube_env_vars.items():
```
Airflow dropped Python 2 support, so no need to use the six library. Other
than that, looks good to me.
----------------------------------------------------------------
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