From d70db4790d2fac880f64b2d2211f0dc4976af193 Mon Sep 17 00:00:00 2001 From: Andrey Velichkevich Date: Wed, 21 Aug 2024 17:09:15 +0100 Subject: [PATCH] Use pointer for MPIImplementation Signed-off-by: Andrey Velichkevich --- pkg/apis/kubeflow.org/v2alpha1/trainingruntime_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apis/kubeflow.org/v2alpha1/trainingruntime_types.go b/pkg/apis/kubeflow.org/v2alpha1/trainingruntime_types.go index 0695b27567..7a740d11b4 100644 --- a/pkg/apis/kubeflow.org/v2alpha1/trainingruntime_types.go +++ b/pkg/apis/kubeflow.org/v2alpha1/trainingruntime_types.go @@ -172,7 +172,7 @@ type MPISpec struct { // Implementation name for the MPI to create the appropriate hostfile. // Defaults to OpenMPI. - MPIImplementation MPIImplementation `json:"mpiImplementation,omitempty"` + MPIImplementation *MPIImplementation `json:"mpiImplementation,omitempty"` // Directory where SSH keys are mounted. SSHAuthMountPath *string `json:"SSHAuthMountPath,omitempty"`