File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/core/src/lambda/remoteDebugging Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import { DefaultLambdaClient } from '../../shared/clients/lambdaClient'
1717import { LocalProxy } from './localProxy'
1818import globals from '../../shared/extensionGlobals'
1919import { getLogger } from '../../shared/logger/logger'
20- import { getIoTSTClientWithAgent , getLambdaClientWithAgent } from './utils'
20+ import { getIoTSTClientWithAgent , getLambdaClientWithAgent , getLambdaDebugUserAgent } from './utils'
2121import { ToolkitError } from '../../shared/errors'
2222import * as nls from 'vscode-nls'
2323
@@ -99,7 +99,7 @@ export class LdkClient {
9999 */
100100 private getLambdaClient ( region : string ) : DefaultLambdaClient {
101101 if ( ! this . lambdaClientCache . has ( region ) ) {
102- this . lambdaClientCache . set ( region , getLambdaClientWithAgent ( region ) )
102+ this . lambdaClientCache . set ( region , getLambdaClientWithAgent ( region , getLambdaDebugUserAgent ( ) ) )
103103 }
104104 return this . lambdaClientCache . get ( region ) !
105105 }
You can’t perform that action at this time.
0 commit comments