Skip to content

Commit

Permalink
change to tf job worker spec
Browse files Browse the repository at this point in the history
Signed-off-by: Future Outlier <[email protected]>
  • Loading branch information
Future Outlier committed Oct 4, 2023
1 parent a9f5d24 commit e6aadd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (tensorflowOperatorResourceHandler) BuildResource(ctx context.Context, task
workerReplicaSpec := kfTensorflowTaskExtraArgs.GetWorkerReplicas()
if workerReplicaSpec != nil {
err := common.OverrideContainerSpec(
replicaSpecMap[kubeflowv1.MPIJobReplicaTypeWorker].PodSpec,
replicaSpecMap[kubeflowv1.TFJobReplicaTypeWorker].PodSpec,
kubeflowv1.TFJobDefaultContainerName,
workerReplicaSpec.GetImage(),
workerReplicaSpec.GetResources(),
Expand Down

0 comments on commit e6aadd8

Please sign in to comment.