style(crd): gofmt connection pooler config fields

This commit is contained in:
Mitch Murphy 2026-06-05 13:58:33 -04:00
parent bf0aa1ec8d
commit 1383829440
2 changed files with 11 additions and 10 deletions

View File

@ -294,6 +294,7 @@ func (c *Controller) importConfigurationFromCRD(fromCRD *acidv1.OperatorConfigur
if fromCRD.ConnectionPooler.GenerateConfig != nil { if fromCRD.ConnectionPooler.GenerateConfig != nil {
result.ConnectionPooler.GenerateConfig = *fromCRD.ConnectionPooler.GenerateConfig result.ConnectionPooler.GenerateConfig = *fromCRD.ConnectionPooler.GenerateConfig
} }
// Command is nil when not configured (keeps the image entrypoint)
result.ConnectionPooler.Command = fromCRD.ConnectionPooler.Command result.ConnectionPooler.Command = fromCRD.ConnectionPooler.Command
result.ConnectionPooler.Args = util.CoalesceStrArr( result.ConnectionPooler.Args = util.CoalesceStrArr(
fromCRD.ConnectionPooler.Args, fromCRD.ConnectionPooler.Args,