From 3c44bee2f944f563a2927bc3a8e97fc99163d53a Mon Sep 17 00:00:00 2001 From: David van der Spek Date: Fri, 14 Jul 2023 13:19:31 +0200 Subject: [PATCH] fix: regenerate deepcopy Signed-off-by: David van der Spek --- .../v1alpha1/zz_generated.deepcopy.go | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/api/observability/v1alpha1/zz_generated.deepcopy.go b/api/observability/v1alpha1/zz_generated.deepcopy.go index d234485..de69c57 100644 --- a/api/observability/v1alpha1/zz_generated.deepcopy.go +++ b/api/observability/v1alpha1/zz_generated.deepcopy.go @@ -1265,9 +1265,13 @@ func (in *MimirLimits) DeepCopyInto(out *MimirLimits) { } if in.MetricRelabelConfigs != nil { in, out := &in.MetricRelabelConfigs, &out.MetricRelabelConfigs - *out = make([]RelabelConfig, len(*in)) + *out = make([]*RelabelConfig, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(RelabelConfig) + (*in).DeepCopyInto(*out) + } } } if in.MaxGlobalSeriesPerUser != nil { @@ -1702,9 +1706,13 @@ func (in *MimirLimitsInput) DeepCopyInto(out *MimirLimitsInput) { } if in.MetricRelabelConfigs != nil { in, out := &in.MetricRelabelConfigs, &out.MetricRelabelConfigs - *out = make([]RelabelConfig, len(*in)) + *out = make([]*RelabelConfig, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(RelabelConfig) + (*in).DeepCopyInto(*out) + } } } if in.MaxGlobalSeriesPerUser != nil {