From 8650fef35c5e86d1215bb0fe45fdda4e32b80f7f Mon Sep 17 00:00:00 2001 From: Saloni Date: Tue, 9 Jul 2024 17:01:18 -0600 Subject: [PATCH] fix fieldalignment --- apis/v1alpha1/nginxproxy_types.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apis/v1alpha1/nginxproxy_types.go b/apis/v1alpha1/nginxproxy_types.go index eab725b6d2..1dce407c2c 100644 --- a/apis/v1alpha1/nginxproxy_types.go +++ b/apis/v1alpha1/nginxproxy_types.go @@ -11,12 +11,11 @@ import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" // NginxProxy is a configuration object that is attached to a GatewayClass parametersRef. It provides a way // to configure global settings for all Gateways defined from the GatewayClass. type NginxProxy struct { //nolint:govet // standard field alignment, don't change it + metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec defines the desired state of the NginxProxy. Spec NginxProxySpec `json:"spec"` - - metav1.TypeMeta `json:",inline"` } // +kubebuilder:object:root=true