Skip to content

Commit ba3d079

Browse files
authored
Update config.go
1 parent bc9e0c3 commit ba3d079

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgresql/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ func (c *Config) connParams() []string {
249249
}
250250

251251
func (c *Config) connStr(database string) string {
252-
host = c.Host
252+
host := c.Host
253253
// For GCP, support both project/region/instance and project:region:instance
254254
// (The second one allows to use the output of google_sql_database_instance as host
255255
if c.Scheme == "gcppostgres" {

0 commit comments

Comments
 (0)