From 3d5819d0bd1b7800b7049c82dc9ffc7e6c621121 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Luk=C5=A1a?= Date: Tue, 13 Jul 2021 13:35:01 +0200 Subject: [PATCH] Fix typo in ServiceImportExportLabelelector --- federation/v1/exportedserviceset_types.go | 2 +- federation/v1/import_export_mapping.go | 2 +- federation/v1/zz_generated.deepcopy.go | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/federation/v1/exportedserviceset_types.go b/federation/v1/exportedserviceset_types.go index 66dc0463..acebe858 100644 --- a/federation/v1/exportedserviceset_types.go +++ b/federation/v1/exportedserviceset_types.go @@ -60,7 +60,7 @@ type ExportedServiceRule struct { // LabelSelector provides a mechanism for selecting services to export by // using a label selector to match Service resources for export. // +optional - LabelSelector *ServiceImportExportLabelelector `json:"labelSelector,omitempty"` + LabelSelector *ServiceImportExportLabelSelector `json:"labelSelector,omitempty"` // NameSelector provides a simple name matcher for exporting services in // the mesh. // +optional diff --git a/federation/v1/import_export_mapping.go b/federation/v1/import_export_mapping.go index a00d68e2..4ff40718 100644 --- a/federation/v1/import_export_mapping.go +++ b/federation/v1/import_export_mapping.go @@ -48,7 +48,7 @@ type ServiceNameMapping struct { Alias *ServiceName `json:"alias,omitempty"` } -type ServiceImportExportLabelelector struct { +type ServiceImportExportLabelSelector struct { // Namespace specifies to which namespace the selector applies. An empty // value applies to all namespaces in the mesh. // +optional diff --git a/federation/v1/zz_generated.deepcopy.go b/federation/v1/zz_generated.deepcopy.go index 5e6a20b2..ede9ebfc 100644 --- a/federation/v1/zz_generated.deepcopy.go +++ b/federation/v1/zz_generated.deepcopy.go @@ -78,7 +78,7 @@ func (in *ExportedServiceRule) DeepCopyInto(out *ExportedServiceRule) { *out = *in if in.LabelSelector != nil { in, out := &in.LabelSelector, &out.LabelSelector - *out = new(ServiceImportExportLabelelector) + *out = new(ServiceImportExportLabelSelector) (*in).DeepCopyInto(*out) } if in.NameSelector != nil { @@ -396,7 +396,7 @@ func (in *PodPeerDiscoveryStatus) DeepCopy() *PodPeerDiscoveryStatus { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ServiceImportExportLabelelector) DeepCopyInto(out *ServiceImportExportLabelelector) { +func (in *ServiceImportExportLabelSelector) DeepCopyInto(out *ServiceImportExportLabelSelector) { *out = *in in.Selector.DeepCopyInto(&out.Selector) if in.Aliases != nil { @@ -408,12 +408,12 @@ func (in *ServiceImportExportLabelelector) DeepCopyInto(out *ServiceImportExport } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceImportExportLabelelector. -func (in *ServiceImportExportLabelelector) DeepCopy() *ServiceImportExportLabelelector { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceImportExportLabelSelector. +func (in *ServiceImportExportLabelSelector) DeepCopy() *ServiceImportExportLabelSelector { if in == nil { return nil } - out := new(ServiceImportExportLabelelector) + out := new(ServiceImportExportLabelSelector) in.DeepCopyInto(out) return out }