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
1010import { getDefaultRoleFromConfig } from "../../../common/atlas/roles.js" ;
1111
1212const 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." ;
1315
1416function sleep ( ms : number ) : Promise < void > {
1517 return new Promise ( ( resolve ) => setTimeout ( resolve , ms ) ) ;
@@ -208,7 +210,7 @@ export class ConnectClusterTool extends AtlasToolBase {
208210 if ( ipAccessListUpdated ) {
209211 content . push ( {
210212 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 ,
212214 } ) ;
213215 }
214216
@@ -258,7 +260,7 @@ export class ConnectClusterTool extends AtlasToolBase {
258260 if ( ipAccessListUpdated ) {
259261 content . push ( {
260262 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 ,
262264 } ) ;
263265 }
264266
You can’t perform that action at this time.
0 commit comments