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
|
* @return
|
||||||
*/
|
*/
|
||||||
String getConnectionURL(boolean usePostgresDb) {
|
String getConnectionURL(boolean usePostgresDb) {
|
||||||
StringBuilder url = new StringBuilder();
|
StringBuilder url = new StringBuilder()
|
||||||
url.append(getJDBCBaseURI());
|
.append(getJDBCBaseURI())
|
||||||
url.append(getHost());
|
.append(getHost())
|
||||||
url.append("/"); // NON-NLS
|
.append(":") // NON-NLS
|
||||||
|
.append(getPort())
|
||||||
|
.append("/"); // NON-NLS
|
||||||
if (usePostgresDb) {
|
if (usePostgresDb) {
|
||||||
url.append("postgres"); // NON-NLS
|
url.append("postgres"); // NON-NLS
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user