Skip to content

Commit

Permalink
hardcoded sslmode=require
Browse files Browse the repository at this point in the history
  • Loading branch information
thebucknerlife committed Oct 26, 2015
1 parent 9af3ded commit 3845774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func postgresify(identifier string) string {

//parse sql connection string from cli flags
func parseConnStr(c *cli.Context) string {
otherParams := "sslmode=disable connect_timeout=5"
otherParams := "sslmode=require connect_timeout=5"
return fmt.Sprintf("user=%s dbname=%s password='%s' host=%s port=%s %s",
c.GlobalString("username"),
c.GlobalString("dbname"),
Expand Down

0 comments on commit 3845774

Please sign in to comment.