Skip to content

Commit

Permalink
chore: reformat goimports
Browse files Browse the repository at this point in the history
  • Loading branch information
hessjcg committed Jan 25, 2023
1 parent d15e7f2 commit 17dfaba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 17dfaba

Please sign in to comment.