We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe16acd commit 17494acCopy full SHA for 17494ac
src/tools/atlas/connect/connectCluster.ts
@@ -219,9 +219,9 @@ export class ConnectClusterTool extends AtlasToolBase {
219
break;
220
}
221
case "connected-to-other-cluster":
222
+ await this.session.disconnect();
223
case "disconnected":
224
default: {
- await this.session.disconnect();
225
const { connectionString, atlas } = await this.prepareClusterConnection(projectId, clusterName);
226
227
// try to connect for about 5 minutes asynchronously
0 commit comments