File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -121,26 +121,13 @@ export class ConnectClusterTool extends AtlasToolBase {
121121 expiryDate,
122122 } ;
123123
124- this . session . logger . debug ( {
125- id : LogId . atlasConnectFailure ,
126- context : "atlas-connect-cluster" ,
127- message : `Connection string received: ${ connectionString } ` ,
128- } ) ;
129124 const cn = new URL ( connectionString ) ;
130125 cn . username = username ;
131126 cn . password = password ;
132- if ( connectionType !== "privateEndpoint" ) {
133- cn . searchParams . set ( "authSource" , "admin" ) ;
134- }
127+ cn . searchParams . set ( "authSource" , "admin" ) ;
135128
136129 this . session . keychain . register ( username , "user" ) ;
137130 this . session . keychain . register ( password , "password" ) ;
138- const thing = cn . toString ( ) ;
139- this . session . logger . debug ( {
140- id : LogId . atlasConnectFailure ,
141- context : "atlas-connect-cluster" ,
142- message : `>>>>>> Connection string used: ${ thing } ` ,
143- } ) ;
144131
145132 return { connectionString : cn . toString ( ) , atlas : connectedAtlasCluster } ;
146133 }
You can’t perform that action at this time.
0 commit comments