Skip to content

Commit

Permalink
Merge pull request #1 from spinscale/fix-header
Browse files Browse the repository at this point in the history
Fix HTTP header name to trace id
  • Loading branch information
mhart authored Dec 11, 2018
2 parents 6df0ab6 + bc5b8c3 commit 95465cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crambda.cr
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module Crambda
raise "Unexpected response when invoking: #{res.status_code}"
end

ENV["_X_AMZN_TRACE_ID"] = res.headers["Lambda-Runtime-Aws-Request-Id"]? || ""
ENV["_X_AMZN_TRACE_ID"] = res.headers["Lambda-Runtime-Trace-Id"]? || ""

context = LambdaContext.new(
function_name,
Expand Down

0 comments on commit 95465cd

Please sign in to comment.