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 6cbb1ab commit 1122e09Copy full SHA for 1122e09
src/tools/atlas/connect/connectCluster.ts
@@ -41,7 +41,7 @@ export class ConnectClusterTool extends AtlasToolBase {
41
return "connected-to-other-cluster";
42
}
43
44
- if (!this.session.isConnectedToMongoDB) {
+ if (this.session.connectionManager.currentConnectionState.tag !== "connected") {
45
return "connecting";
46
47
0 commit comments