From db60a6d443cc8af24302c9c02e3d4e66e7bd1c43 Mon Sep 17 00:00:00 2001 From: An Li Date: Sat, 20 Nov 2021 22:46:03 +0800 Subject: [PATCH] fix header name --- xray/lambda.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xray/lambda.go b/xray/lambda.go index ba26be8a..c1b496ba 100644 --- a/xray/lambda.go +++ b/xray/lambda.go @@ -19,7 +19,7 @@ import ( ) // LambdaTraceHeaderKey is key to get trace header from context. -const LambdaTraceHeaderKey string = "x-amzn-trace-id" +const LambdaTraceHeaderKey string = "X-Amzn-Trace-Id" // LambdaTaskRootKey is the key to get Lambda Task Root from environment variable. const LambdaTaskRootKey string = "LAMBDA_TASK_ROOT"