Skip to content

Commit a41e9e4

Browse files
authored
Fix fieldalignment error (#1137)
Problem: Lint failed with a fieldalignment error. Solution: Realign the struct to resolve the error.
1 parent 567f27e commit a41e9e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/mode/static/handler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ type eventHandlerConfig struct {
4646
eventRecorder record.EventRecorder
4747
// logLevelSetter is used to update the logging level.
4848
logLevelSetter ZapLogLevelSetter
49+
// metricsCollector collects metrics for this controller.
50+
metricsCollector handlerMetricsCollector
4951
// healthChecker sets the health of the Pod to Ready once we've written out our initial config
5052
healthChecker *healthChecker
5153
// controlConfigNSName is the NamespacedName of the NginxGateway config for this controller.
5254
controlConfigNSName types.NamespacedName
53-
// metricsCollector collects metrics for this controller.
54-
metricsCollector handlerMetricsCollector
5555
// version is the current version number of the nginx config.
5656
version int
5757
}

0 commit comments

Comments
 (0)