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 = {
18
18
atlasConnectFailure : mongoLogId ( 1_001_003 ) ,
19
19
atlasInspectFailure : mongoLogId ( 1_001_004 ) ,
20
20
atlasConnectAttempt : mongoLogId ( 1_001_005 ) ,
21
- atlasConnectSuccessed : mongoLogId ( 1_001_006 ) ,
21
+ atlasConnectSucceeded : mongoLogId ( 1_001_006 ) ,
22
22
23
23
telemetryDisabled : mongoLogId ( 1_002_001 ) ,
24
24
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> {
14
14
15
15
export class ConnectClusterTool extends AtlasToolBase {
16
16
protected name = "atlas-connect-cluster" ;
17
- protected description = "Connect to MongoDB Atlas cluster" ;
17
+ protected description = "Connect to / Inspect connection of MongoDB Atlas cluster" ;
18
18
protected operationType : OperationType = "metadata" ;
19
19
protected argsShape = {
20
20
projectId : z . string ( ) . describe ( "Atlas project ID" ) ,
@@ -164,7 +164,7 @@ export class ConnectClusterTool extends AtlasToolBase {
164
164
}
165
165
166
166
logger . debug (
167
- LogId . atlasConnectSuccessed ,
167
+ LogId . atlasConnectSucceeded ,
168
168
"atlas-connect-cluster" ,
169
169
`connected to cluster: ${ this . session . connectedAtlasCluster ?. clusterName } `
170
170
) ;
@@ -229,6 +229,10 @@ export class ConnectClusterTool extends AtlasToolBase {
229
229
type : "text" ,
230
230
text : `Attempting to connect to cluster "${ clusterName } "...` ,
231
231
} ,
232
+ {
233
+ type : "text" ,
234
+ text : `Warning: Check again in a few seconds.` ,
235
+ } ,
232
236
] ,
233
237
} ;
234
238
}
You can’t perform that action at this time.
0 commit comments