use URL.Path until TravisCI gets 1.5
Either we'll figure out how to get it added or they will.
This commit is contained in:
parent
42a626f9fc
commit
7f44d22604
|
|
@ -108,7 +108,8 @@ func recombineURLForDB(dbConnect string) (string, error) {
|
||||||
dbConn += ":" + passwd
|
dbConn += ":" + passwd
|
||||||
}
|
}
|
||||||
dbConn += "@tcp(" + dbURL.Host + ")"
|
dbConn += "@tcp(" + dbURL.Host + ")"
|
||||||
return dbConn + dbURL.EscapedPath() + "?" + dsnVals.Encode(), nil
|
// TODO(jmhodges): should be dbURL.EscapedPath() but Travis doesn't have 1.5
|
||||||
|
return dbConn + dbURL.Path + "?" + dsnVals.Encode(), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetSQLDebug enables/disables GORP SQL-level Debugging
|
// SetSQLDebug enables/disables GORP SQL-level Debugging
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue