File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -127,14 +127,19 @@ export default class FeatureFlagCache {
127127
128128 logger . log ( LogLevel . debug , `Fetching feature flags from ${ endpoint } ` ) ;
129129
130- // Make HTTP GET request with authentication
130+ // Get agent with proxy settings (same pattern as CloudFetchResultHandler and DBSQLSession)
131+ const connectionProvider = await this . context . getConnectionProvider ( ) ;
132+ const agent = await connectionProvider . getAgent ( ) ;
133+
134+ // Make HTTP GET request with authentication and proxy support
131135 const response = await fetch ( endpoint , {
132136 method : 'GET' ,
133137 headers : {
134138 ...authHeaders ,
135139 'Content-Type' : 'application/json' ,
136140 'User-Agent' : `databricks-sql-nodejs/${ driverVersion } ` ,
137141 } ,
142+ agent, // Include agent for proxy support
138143 } ) ;
139144
140145 if ( ! response . ok ) {
You can’t perform that action at this time.
0 commit comments