File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export const LogId = {
1818 atlasConnectFailure : mongoLogId ( 1_001_003 ) ,
1919 atlasInspectFailure : mongoLogId ( 1_001_004 ) ,
2020 atlasConnectAttempt : mongoLogId ( 1_001_005 ) ,
21- atlasConnectSuccessed : mongoLogId ( 1_001_006 ) ,
21+ atlasConnectSucceeded : mongoLogId ( 1_001_006 ) ,
2222
2323 telemetryDisabled : mongoLogId ( 1_002_001 ) ,
2424 telemetryEmitFailure : mongoLogId ( 1_002_002 ) ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function sleep(ms: number): Promise<void> {
1414
1515export class ConnectClusterTool extends AtlasToolBase {
1616 protected name = "atlas-connect-cluster" ;
17- protected description = "Connect to MongoDB Atlas cluster" ;
17+ protected description = "Connect to / Inspect connection of MongoDB Atlas cluster" ;
1818 protected operationType : OperationType = "metadata" ;
1919 protected argsShape = {
2020 projectId : z . string ( ) . describe ( "Atlas project ID" ) ,
@@ -164,7 +164,7 @@ export class ConnectClusterTool extends AtlasToolBase {
164164 }
165165
166166 logger . debug (
167- LogId . atlasConnectSuccessed ,
167+ LogId . atlasConnectSucceeded ,
168168 "atlas-connect-cluster" ,
169169 `connected to cluster: ${ this . session . connectedAtlasCluster ?. clusterName } `
170170 ) ;
@@ -229,6 +229,10 @@ export class ConnectClusterTool extends AtlasToolBase {
229229 type : "text" ,
230230 text : `Attempting to connect to cluster "${ clusterName } "...` ,
231231 } ,
232+ {
233+ type : "text" ,
234+ text : `Warning: Check again in a few seconds.` ,
235+ } ,
232236 ] ,
233237 } ;
234238 }
You can’t perform that action at this time.
0 commit comments