Skip to content

Commit

Permalink
Update cmd/root.go
Browse files Browse the repository at this point in the history
Co-authored-by: Jack Wotherspoon <[email protected]>
  • Loading branch information
enocom and jackwotherspoon committed Nov 15, 2023
1 parent f609022 commit 92d9a2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Instance Level Configuration
instances, the proxy will ensure that the last path element is
'.s.PGSQL.5432' appending it if necessary. For example,
./alloydb-aith-proxy \
./alloydb-auth-proxy \
'projects/PROJECT/locations/REGION/clusters/CLUSTER/instances/INSTANCE1?unix-socket-path=/path/to/socket'
(*) indicates a flag that may be used as a query parameter
Expand Down
6 changes: 4 additions & 2 deletions tests/alloydb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,10 @@ func TestPostgresTCP(t *testing.T) {
}
requirePostgresVars(t)

dsn := fmt.Sprintf("host=127.0.0.1 user=%v password=%v database=%v sslmode=disable",
*alloydbUser, *alloydbPass, *alloydbDB)
dsn := fmt.Sprintf(
"host=127.0.0.1 user=%v database=%v sslmode=disable",
*alloydbUser, *alloydbDB,
)
proxyConnTest(t, []string{*alloydbInstanceName}, "pgx", dsn)
}

Expand Down

0 comments on commit 92d9a2a

Please sign in to comment.