1
0
mirror of https://github.com/rancher/types.git synced 2025-09-16 23:08:25 +00:00

generate changes

This commit is contained in:
Daishan Peng
2018-03-02 12:56:05 -07:00
committed by Darren Shepherd
parent 496fb9f951
commit 49f300e585
2 changed files with 49 additions and 31 deletions

View File

@@ -3388,6 +3388,20 @@ func (in *NodeSpec) DeepCopyInto(out *NodeSpec) {
}
}
in.InternalNodeSpec.DeepCopyInto(&out.InternalNodeSpec)
if in.DesiredNodeLabels != nil {
in, out := &in.DesiredNodeLabels, &out.DesiredNodeLabels
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.DesiredNodeAnnotations != nil {
in, out := &in.DesiredNodeAnnotations, &out.DesiredNodeAnnotations
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
return
}