Skip to content

Commit dd93aa5

Browse files
authored
[HCK-10544] Use enclosed ipv6 addresses (#26)
## Content - Mongodb client is using url connection string and requires ipv6 addresses to be enclosed in square brackets. Requires hackolade/studio#2955
1 parent 52edda1 commit dd93aa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/mongoDbClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const getSshConnectionSettings = async ({ connectionInfo, sshService }) => {
2323
const { options } = await sshService.openTunnel(sshConnectionConfig);
2424
return {
2525
...connectionInfo,
26-
host: options.host,
26+
host: options.escapedHostForUrl,
2727
port: options.port.toString() || '22',
2828
};
2929
};

0 commit comments

Comments
 (0)