feluelle commented on a change in pull request #7671: [AIRFLOW-6574] Adding
private_environment to docker operator.
URL: https://github.com/apache/airflow/pull/7671#discussion_r390268570
##########
File path: airflow/providers/docker/operators/docker.py
##########
@@ -218,7 +224,7 @@ def _run_image(self):
self.container = self.cli.create_container(
command=self.get_command(),
name=self.container_name,
- environment=self.environment,
+ environment={**self.environment, **self._private_environment},
Review comment:
```suggestion
environment={**self.environment, **self.private_environment},
```
----------------------------------------------------------------
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