Skip to content

Commit 2a752c2

Browse files
nit: naming convention:
1 parent 6528bbe commit 2a752c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/AWS/Lambda/HandlerWrapperSetHandlerIntegration.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public object OnDelegateBegin<TArg1>(object sender, ref TArg1 arg)
7171
LambdaCommon.Log("DelegateWrapper Running OnDelegateBegin");
7272

7373
Scope scope;
74-
object requestid = null;
74+
object requestId = null;
7575
var proxyInstance = arg.DuckCast<IInvocationRequest>();
7676
if (proxyInstance == null)
7777
{
@@ -82,11 +82,11 @@ public object OnDelegateBegin<TArg1>(object sender, ref TArg1 arg)
8282
{
8383
var jsonString = ConvertPayloadStream(proxyInstance.InputStream);
8484
scope = LambdaCommon.SendStartInvocation(new LambdaRequestBuilder(), jsonString, proxyInstance.LambdaContext);
85-
requestid = proxyInstance.LambdaContext?.AwsRequestId;
85+
requestId = proxyInstance.LambdaContext?.AwsRequestId;
8686
}
8787

8888
LambdaCommon.Log("DelegateWrapper FINISHED Running OnDelegateBegin");
89-
return new CallTargetState(scope, requestid);
89+
return new CallTargetState(scope, requestId);
9090
}
9191

9292
public void OnException(object sender, Exception ex)

0 commit comments

Comments
 (0)