Remove unused field

This commit is contained in:
John Gardiner Myers 2021-10-02 19:12:22 -07:00
parent b98fcf35d8
commit 05e893bff4
2 changed files with 1 additions and 10 deletions

View File

@ -75,8 +75,6 @@ type KubernetesVersionSpec struct {
} }
type ChannelImageSpec struct { type ChannelImageSpec struct {
Labels map[string]string `json:"labels,omitempty"`
ProviderID string `json:"providerID,omitempty"` ProviderID string `json:"providerID,omitempty"`
ArchitectureID string `json:"architectureID,omitempty"` ArchitectureID string `json:"architectureID,omitempty"`

View File

@ -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. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ChannelImageSpec) DeepCopyInto(out *ChannelImageSpec) { func (in *ChannelImageSpec) DeepCopyInto(out *ChannelImageSpec) {
*out = *in *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 return
} }
@ -544,7 +537,7 @@ func (in *ChannelSpec) DeepCopyInto(out *ChannelSpec) {
if (*in)[i] != nil { if (*in)[i] != nil {
in, out := &(*in)[i], &(*out)[i] in, out := &(*in)[i], &(*out)[i]
*out = new(ChannelImageSpec) *out = new(ChannelImageSpec)
(*in).DeepCopyInto(*out) **out = **in
} }
} }
} }