From 3595986e09ee0a8840db9e6feaae8558ae9174b9 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Fri, 12 Aug 2022 09:51:16 +0300 Subject: [PATCH] apis/nfd: fix an error in auto-generated code Work around a bug in k8s deepcopy-gen. --- pkg/apis/nfd/v1alpha1/zz_generated.deepcopy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apis/nfd/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/nfd/v1alpha1/zz_generated.deepcopy.go index 06f4b101d6..3dbe9da86d 100644 --- a/pkg/apis/nfd/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/nfd/v1alpha1/zz_generated.deepcopy.go @@ -35,7 +35,7 @@ func (in *FeatureMatcherTerm) DeepCopyInto(out *FeatureMatcherTerm) { *out = *in if in.MatchExpressions != nil { in, out := &in.MatchExpressions, &out.MatchExpressions - *out = new(map[string]*MatchExpression) + *out = new(MatchExpressionSet) if **in != nil { in, out := *in, *out *out = make(map[string]*MatchExpression, len(*in))