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:
parent
fe412a54b9
commit
912c7dcf2c
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue