Skip to content

Commit 8650fef

Browse files
committed
fix fieldalignment
1 parent a3a9c67 commit 8650fef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apis/v1alpha1/nginxproxy_types.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@ import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1111
// NginxProxy is a configuration object that is attached to a GatewayClass parametersRef. It provides a way
1212
// to configure global settings for all Gateways defined from the GatewayClass.
1313
type NginxProxy struct { //nolint:govet // standard field alignment, don't change it
14+
metav1.TypeMeta `json:",inline"`
1415
metav1.ObjectMeta `json:"metadata,omitempty"`
1516

1617
// Spec defines the desired state of the NginxProxy.
1718
Spec NginxProxySpec `json:"spec"`
18-
19-
metav1.TypeMeta `json:",inline"`
2019
}
2120

2221
// +kubebuilder:object:root=true

0 commit comments

Comments
 (0)