chamikaramj commented on a change in pull request #11740:
URL: https://github.com/apache/beam/pull/11740#discussion_r427755500



##########
File path: sdks/python/apache_beam/runners/dataflow/internal/apiclient.py
##########
@@ -310,15 +312,15 @@ def __init__(
         environment_payload = proto_utils.parse_Bytes(
             environment.payload, beam_runner_api_pb2.DockerPayload)
         container_image_url = environment_payload.container_image
-        if container_image_url == pipeline_sdk_container_image:
-          # This was already added
+        if container_image_url in already_added_containers:
+          # Do not add the pipeline environment again.

Review comment:
       Sent https://github.com/apache/beam/pull/11757.




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to