mirror of
https://github.com/rancher/types.git
synced 2025-09-01 05:09:10 +00:00
NodeConfig to machine spec
This commit is contained in:
@@ -69,6 +69,7 @@ type MachineStatus struct {
|
||||
SSHPrivateKey string `json:"sshPrivateKey,omitempty"`
|
||||
ExtractedConfig string `json:"extractedConfig,omitempty"`
|
||||
Address string `json:"address,omitempty"`
|
||||
NodeConfig *RKEConfigNode `json:"nodeConfig,omitempty"`
|
||||
}
|
||||
|
||||
type MachineCondition struct {
|
||||
|
@@ -1548,6 +1548,15 @@ func (in *MachineStatus) DeepCopyInto(out *MachineStatus) {
|
||||
(*out)[key] = val.DeepCopy()
|
||||
}
|
||||
}
|
||||
if in.NodeConfig != nil {
|
||||
in, out := &in.NodeConfig, &out.NodeConfig
|
||||
if *in == nil {
|
||||
*out = nil
|
||||
} else {
|
||||
*out = new(RKEConfigNode)
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user