Skip to content

Commit 7a6c1cc

Browse files
committed
fix fieldalignment
1 parent a3a9c67 commit 7a6c1cc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
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

apis/v1alpha1/zz_generated.deepcopy.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)