Refactor conditional

This commit is contained in:
Dan Sosedoff 2014-12-12 18:05:51 -06:00
parent 4086215a03
commit de22b80203

View File

@ -77,9 +77,7 @@ func getConnectionString() string {
if options.Host == "localhost" || options.Host == "127.0.0.1" {
options.Ssl = "disable"
}
}
if options.Ssl != "" {
} else {
str += fmt.Sprintf(" sslmode=%s", options.Ssl)
}