From 508ec3f595a94d9f447b6fa5ee01a1418ca89882 Mon Sep 17 00:00:00 2001 From: Wen Zhou Date: Fri, 2 Feb 2024 10:23:03 +0100 Subject: [PATCH] chore: fix missing deepcopyinto for kueue by re-generate code Signed-off-by: Wen Zhou --- apis/datasciencecluster/v1/zz_generated.deepcopy.go | 1 + components/modelregistry/zz_generated.deepcopy.go | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/apis/datasciencecluster/v1/zz_generated.deepcopy.go b/apis/datasciencecluster/v1/zz_generated.deepcopy.go index 723e45d0c3c..9454def341b 100644 --- a/apis/datasciencecluster/v1/zz_generated.deepcopy.go +++ b/apis/datasciencecluster/v1/zz_generated.deepcopy.go @@ -35,6 +35,7 @@ func (in *Components) DeepCopyInto(out *Components) { in.ModelMeshServing.DeepCopyInto(&out.ModelMeshServing) in.DataSciencePipelines.DeepCopyInto(&out.DataSciencePipelines) in.Kserve.DeepCopyInto(&out.Kserve) + in.Kueue.DeepCopyInto(&out.Kueue) in.CodeFlare.DeepCopyInto(&out.CodeFlare) in.Ray.DeepCopyInto(&out.Ray) in.TrustyAI.DeepCopyInto(&out.TrustyAI) diff --git a/components/modelregistry/zz_generated.deepcopy.go b/components/modelregistry/zz_generated.deepcopy.go index e0e2c2f1618..3ed241dd7f1 100644 --- a/components/modelregistry/zz_generated.deepcopy.go +++ b/components/modelregistry/zz_generated.deepcopy.go @@ -24,17 +24,17 @@ package modelregistry import () // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (m *ModelRegistry) DeepCopyInto(out *ModelRegistry) { - *out = *m - m.Component.DeepCopyInto(&out.Component) +func (in *ModelRegistry) DeepCopyInto(out *ModelRegistry) { + *out = *in + in.Component.DeepCopyInto(&out.Component) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelRegistry. -func (m *ModelRegistry) DeepCopy() *ModelRegistry { - if m == nil { +func (in *ModelRegistry) DeepCopy() *ModelRegistry { + if in == nil { return nil } out := new(ModelRegistry) - m.DeepCopyInto(out) + in.DeepCopyInto(out) return out }