mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Fixed a bug with missing port in the PostgresCentralRepoSettings
This commit is contained in:
parent
aa261da74f
commit
3c89137dfb
@ -121,10 +121,12 @@ public final class PostgresCentralRepoSettings implements CentralRepoDbConnectiv
|
||||
* @return
|
||||
*/
|
||||
String getConnectionURL(boolean usePostgresDb) {
|
||||
StringBuilder url = new StringBuilder();
|
||||
url.append(getJDBCBaseURI());
|
||||
url.append(getHost());
|
||||
url.append("/"); // NON-NLS
|
||||
StringBuilder url = new StringBuilder()
|
||||
.append(getJDBCBaseURI())
|
||||
.append(getHost())
|
||||
.append(":") // NON-NLS
|
||||
.append(getPort())
|
||||
.append("/"); // NON-NLS
|
||||
if (usePostgresDb) {
|
||||
url.append("postgres"); // NON-NLS
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user