File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -42,23 +42,23 @@ export class ConnectionStateConnected implements ConnectionState {
4242 public connectedAtlasCluster ?: AtlasClusterConnectionInfo
4343 ) { }
4444
45- #isSearchSupported ?: boolean ;
45+ private _isSearchSupported ?: boolean ;
4646
4747 public async isSearchSupported ( ) : Promise < boolean > {
48- if ( this . #isSearchSupported === undefined ) {
48+ if ( this . _isSearchSupported === undefined ) {
4949 try {
5050 // If a cluster supports search indexes, the call below will succeed
5151 // with a cursor otherwise will throw an Error.
5252 // the Search Index Management Service might not be ready yet, but
5353 // we assume that the agent can retry in that situation.
5454 await this . serviceProvider . getSearchIndexes ( MCP_TEST_DATABASE , "test" ) ;
55- this . #isSearchSupported = true ;
55+ this . _isSearchSupported = true ;
5656 } catch {
57- this . #isSearchSupported = false ;
57+ this . _isSearchSupported = false ;
5858 }
5959 }
6060
61- return this . #isSearchSupported ;
61+ return this . _isSearchSupported ;
6262 }
6363}
6464
You can’t perform that action at this time.
0 commit comments