Skip to content

Commit

Permalink
Fix fieldalignment error (#1137)
Browse files Browse the repository at this point in the history
Problem: Lint failed with a fieldalignment error.

Solution: Realign the struct to resolve the error.
  • Loading branch information
kate-osborn authored Oct 12, 2023
1 parent 567f27e commit a41e9e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/mode/static/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ type eventHandlerConfig struct {
eventRecorder record.EventRecorder
// logLevelSetter is used to update the logging level.
logLevelSetter ZapLogLevelSetter
// metricsCollector collects metrics for this controller.
metricsCollector handlerMetricsCollector
// healthChecker sets the health of the Pod to Ready once we've written out our initial config
healthChecker *healthChecker
// controlConfigNSName is the NamespacedName of the NginxGateway config for this controller.
controlConfigNSName types.NamespacedName
// metricsCollector collects metrics for this controller.
metricsCollector handlerMetricsCollector
// version is the current version number of the nginx config.
version int
}
Expand Down

0 comments on commit a41e9e4

Please sign in to comment.