Move backend package into steward package
This commit is contained in:
parent
b199c8a168
commit
a414952482
|
@ -101,6 +101,10 @@ func makeDatabaseURI(host, user, pass, db string) string {
|
||||||
databaseURI string
|
databaseURI string
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if user == "" && pass != "" {
|
||||||
|
panic("Password is set but no is user specified")
|
||||||
|
}
|
||||||
|
|
||||||
if user != "" {
|
if user != "" {
|
||||||
databaseURI += user
|
databaseURI += user
|
||||||
}
|
}
|
Loading…
Reference in New Issue