Skip to content

Commit

Permalink
[flytectl] DataConfig missing from TaskSpec (flyteorg#5692)
Browse files Browse the repository at this point in the history
Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Bugra Gedik <[email protected]>
  • Loading branch information
wild-endeavor authored and bgedik committed Sep 12, 2024
1 parent a86feb0 commit 3b690d2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions flytectl/cmd/register/register_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,9 @@ func hydrateTaskSpec(task *admin.TaskSpec, sourceUploadedLocation storage.DataRe
}
task.Template.Target = &core.TaskTemplate_K8SPod{
K8SPod: &core.K8SPod{
Metadata: task.Template.GetK8SPod().Metadata,
PodSpec: podSpecStruct,
Metadata: task.Template.GetK8SPod().Metadata,
PodSpec: podSpecStruct,
DataConfig: task.Template.GetK8SPod().DataConfig,
},
}
}
Expand Down

0 comments on commit 3b690d2

Please sign in to comment.