1
0
Fork 0

Move backend package into steward package

This commit is contained in:
Gregory Eremin 2015-01-10 21:06:48 +07:00
parent b199c8a168
commit a414952482
1 changed files with 4 additions and 0 deletions

View File

@ -101,6 +101,10 @@ func makeDatabaseURI(host, user, pass, db string) string {
databaseURI string
)
if user == "" && pass != "" {
panic("Password is set but no is user specified")
}
if user != "" {
databaseURI += user
}