From c0c586f55a5db508fa9cb383078749763574536b Mon Sep 17 00:00:00 2001 From: Warren Fernandes Date: Wed, 27 Jan 2021 20:40:06 -0700 Subject: [PATCH] Temporarily remove maligned linting error --- operator/api/v1alpha4/bootstrapprovider_types.go | 2 +- operator/api/v1alpha4/controlplaneprovider_types.go | 2 +- operator/api/v1alpha4/coreprovider_types.go | 2 +- operator/api/v1alpha4/infrastructureprovider_types.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/operator/api/v1alpha4/bootstrapprovider_types.go b/operator/api/v1alpha4/bootstrapprovider_types.go index 6cc25bc73b3c..cbcefdb74fe1 100644 --- a/operator/api/v1alpha4/bootstrapprovider_types.go +++ b/operator/api/v1alpha4/bootstrapprovider_types.go @@ -33,7 +33,7 @@ type BootstrapProviderStatus struct { // +kubebuilder:object:root=true // BootstrapProvider is the Schema for the bootstrapproviders API -type BootstrapProvider struct { +type BootstrapProvider struct { //nolint:maligned metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/operator/api/v1alpha4/controlplaneprovider_types.go b/operator/api/v1alpha4/controlplaneprovider_types.go index 521d39a51acc..c596a7db9be5 100644 --- a/operator/api/v1alpha4/controlplaneprovider_types.go +++ b/operator/api/v1alpha4/controlplaneprovider_types.go @@ -33,7 +33,7 @@ type ControlPlaneProviderStatus struct { // +kubebuilder:object:root=true // ControlPlaneProvider is the Schema for the controlplaneproviders API -type ControlPlaneProvider struct { +type ControlPlaneProvider struct { //nolint:maligned metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/operator/api/v1alpha4/coreprovider_types.go b/operator/api/v1alpha4/coreprovider_types.go index d1a0862fd44c..af1d8946fc54 100644 --- a/operator/api/v1alpha4/coreprovider_types.go +++ b/operator/api/v1alpha4/coreprovider_types.go @@ -33,7 +33,7 @@ type CoreProviderStatus struct { // +kubebuilder:object:root=true // CoreProvider is the Schema for the coreproviders API -type CoreProvider struct { +type CoreProvider struct { //nolint:maligned metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/operator/api/v1alpha4/infrastructureprovider_types.go b/operator/api/v1alpha4/infrastructureprovider_types.go index e1a15d89e9ff..b3d08351b562 100644 --- a/operator/api/v1alpha4/infrastructureprovider_types.go +++ b/operator/api/v1alpha4/infrastructureprovider_types.go @@ -33,7 +33,7 @@ type InfrastructureProviderStatus struct { // +kubebuilder:object:root=true // InfrastructureProvider is the Schema for the infrastructureproviders API -type InfrastructureProvider struct { +type InfrastructureProvider struct { //nolint:maligned metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"`