Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
issue
Browse files Browse the repository at this point in the history
Signed-off-by: Katrina Rogan <[email protected]>
  • Loading branch information
katrogan committed Jun 11, 2021
1 parent 0d4edbb commit 1259fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/tasks/plugins/array/k8s/transformer.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func GetNamespaceForExecution(tCtx core.TaskExecutionContext, namespaceTemplate

// Initializes a pod from an array job task template with a K8sPod set as the task target.
// TODO: This should be removed by end of 2021 (it duplicates the pod plugin logic) once we improve array job handling
// and move it to the node level. See https://github.com/flyteorg/flyte/issues/1051
// and move it to the node level. See https://github.com/flyteorg/flyte/issues/1131
func buildPodMapTask(task *idlCore.TaskTemplate, metadata core.TaskExecutionMetadata) (v1.Pod, error) {
if task.GetK8SPod() == nil || task.GetK8SPod().PodSpec == nil {
return v1.Pod{}, errors.Errorf(errors.BadTaskSpecification, "Missing pod spec for task")
Expand Down

0 comments on commit 1259fd0

Please sign in to comment.