Revert "Refactor conditional"

This reverts commit de22b80203.
This commit is contained in:
Dan Sosedoff 2014-12-12 18:15:37 -06:00
parent de22b80203
commit d93ec7e56d

View File

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