Skip to content

Commit

Permalink
[flytectl] DataConfig missing from TaskSpec (#5692)
Browse files Browse the repository at this point in the history
Signed-off-by: Yee Hing Tong <wild-endeavor@users.noreply.github.com>
  • Loading branch information
wild-endeavor committed Aug 24, 2024
1 parent d2614d4 commit 7d59f10
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 7d59f10

Please sign in to comment.