Skip to content

Commit 237fb73

Browse files
authored
Version hash should include the image from launchPlan.workflow.nodes (#3290)
Signed-off-by: Kevin Su <pingsutw@apache.org>
1 parent 6548b66 commit 237fb73

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

flytekit/remote/remote.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,6 +1338,11 @@ def _get_image_names(entity: typing.Union[PythonAutoContainerTask, WorkflowBase]
13381338
for n in entity.nodes:
13391339
image_names.extend(FlyteRemote._get_image_names(n.flyte_entity))
13401340
return image_names
1341+
if isinstance(entity, LaunchPlan):
1342+
image_names = []
1343+
for n in entity.workflow.nodes:
1344+
image_names.extend(FlyteRemote._get_image_names(n.flyte_entity))
1345+
return image_names
13411346
return []
13421347

13431348
@staticmethod

0 commit comments

Comments
 (0)