File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ import type { AtlasClusterConnectionInfo } from "../../../common/connectionManag
10
10
import { getDefaultRoleFromConfig } from "../../../common/atlas/roles.js" ;
11
11
12
12
const EXPIRY_MS = 1000 * 60 * 60 * 12 ; // 12 hours
13
+ const addedIpAccessListMessage =
14
+ "Note: Your current IP address has been added to the Atlas project's IP access list to enable secure connection." ;
13
15
14
16
function sleep ( ms : number ) : Promise < void > {
15
17
return new Promise ( ( resolve ) => setTimeout ( resolve , ms ) ) ;
@@ -208,7 +210,7 @@ export class ConnectClusterTool extends AtlasToolBase {
208
210
if ( ipAccessListUpdated ) {
209
211
content . push ( {
210
212
type : "text" ,
211
- text : `Note: Your current IP address has been added to the Atlas project's IP access list to enable secure connection.` ,
213
+ text : addedIpAccessListMessage ,
212
214
} ) ;
213
215
}
214
216
@@ -258,7 +260,7 @@ export class ConnectClusterTool extends AtlasToolBase {
258
260
if ( ipAccessListUpdated ) {
259
261
content . push ( {
260
262
type : "text" as const ,
261
- text : `Note: Your current IP address has been added to the Atlas project's IP access list to enable secure connection.` ,
263
+ text : addedIpAccessListMessage ,
262
264
} ) ;
263
265
}
264
266
You can’t perform that action at this time.
0 commit comments