robertwb commented on code in PR #17338:
URL: https://github.com/apache/beam/pull/17338#discussion_r847654889
##########
sdks/python/apache_beam/runners/dataflow/internal/apiclient.py:
##########
@@ -307,6 +305,14 @@ def __init__(
container_image.capabilities.append(capability)
pool.sdkHarnessContainerImages.append(container_image)
+ if not _use_fnapi(options):
+ pool.workerHarnessContainerImage = (
+ get_container_image_from_options(options))
+ elif len(pool.sdkHarnessContainerImages) == 1:
Review Comment:
Before cross-language, pool used to have a single
`workerHarnessContainerImage` setting. With cross-langauge, this was updated to
have a repeated sdkHarnessContainerImages option (so one can use different
containers per langauge), but Dataflow still consults the old
workerHarnessContainerImage flag in the non-cross-langauge case.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]