1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-31 04:04:51 +00:00

apis/nfd: fix an error in auto-generated code

Work around a bug in k8s deepcopy-gen.
This commit is contained in:
Markus Lehtonen 2022-08-12 09:51:16 +03:00
parent fe412a54b9
commit 912c7dcf2c

View file

@ -58,7 +58,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))