diff --git a/internal/proxy/proxy.go b/internal/proxy/proxy.go index 8b7a4b892..143e0c484 100644 --- a/internal/proxy/proxy.go +++ b/internal/proxy/proxy.go @@ -742,7 +742,7 @@ func newSocketMount(ctx context.Context, conf *Config, pc *portConfig, inst Inst address = net.JoinHostPort(a, fmt.Sprint(np)) - case inst.UnixSocketPath != "" && strings.HasPrefix(version, "POSTGRES") : + case inst.UnixSocketPath != "" && strings.HasPrefix(version, "POSTGRES"): // When UnixSocketPath is set for a Postgres database... network = "unix" @@ -771,7 +771,7 @@ func newSocketMount(ctx context.Context, conf *Config, pc *portConfig, inst Inst } address = UnixAddress(address, ".s.PGSQL.5432") - case inst.UnixSocketPath != "" : + case inst.UnixSocketPath != "": network = "unix" address = inst.UnixSocketPath dir := path.Dir(address)