mirror of https://github.com/kubernetes/kops.git
Remove unused field
This commit is contained in:
parent
b98fcf35d8
commit
05e893bff4
|
|
@ -75,8 +75,6 @@ type KubernetesVersionSpec struct {
|
|||
}
|
||||
|
||||
type ChannelImageSpec struct {
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
|
||||
ProviderID string `json:"providerID,omitempty"`
|
||||
|
||||
ArchitectureID string `json:"architectureID,omitempty"`
|
||||
|
|
|
|||
|
|
@ -514,13 +514,6 @@ func (in *Channel) DeepCopy() *Channel {
|
|||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ChannelImageSpec) DeepCopyInto(out *ChannelImageSpec) {
|
||||
*out = *in
|
||||
if in.Labels != nil {
|
||||
in, out := &in.Labels, &out.Labels
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
@ -544,7 +537,7 @@ func (in *ChannelSpec) DeepCopyInto(out *ChannelSpec) {
|
|||
if (*in)[i] != nil {
|
||||
in, out := &(*in)[i], &(*out)[i]
|
||||
*out = new(ChannelImageSpec)
|
||||
(*in).DeepCopyInto(*out)
|
||||
**out = **in
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue