File tree 2 files changed +34
-2
lines changed
Sources/AWSLambdaRuntimeCore
2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "configurations" : [
3
+ {
4
+ "type" : " lldb" ,
5
+ "request" : " launch" ,
6
+ "name" : " Debug MockServer" ,
7
+ "program" : " ${workspaceFolder:swift-aws-lambda-runtime}/.build/debug/MockServer" ,
8
+ "args" : [],
9
+ "cwd" : " ${workspaceFolder:swift-aws-lambda-runtime}" ,
10
+ "preLaunchTask" : " swift: Build Debug MockServer"
11
+ },
12
+ {
13
+ "type" : " lldb" ,
14
+ "request" : " launch" ,
15
+ "name" : " Release MockServer" ,
16
+ "program" : " ${workspaceFolder:swift-aws-lambda-runtime}/.build/release/MockServer" ,
17
+ "args" : [],
18
+ "cwd" : " ${workspaceFolder:swift-aws-lambda-runtime}" ,
19
+ "preLaunchTask" : " swift: Build Release MockServer"
20
+ },
21
+ {
22
+ "type" : " lldb" ,
23
+ "request" : " launch" ,
24
+ "name" : " Test swift-aws-lambda-runtime" ,
25
+ "program" : " /Applications/Xcode.app/Contents/Developer/usr/bin/xctest" ,
26
+ "args" : [
27
+ " .build/debug/swift-aws-lambda-runtimePackageTests.xctest"
28
+ ],
29
+ "cwd" : " ${workspaceFolder:swift-aws-lambda-runtime}" ,
30
+ "preLaunchTask" : " swift: Build All"
31
+ }
32
+ ]
33
+ }
Original file line number Diff line number Diff line change @@ -54,8 +54,7 @@ struct Invocation: Hashable {
54
54
self . requestID = requestID
55
55
self . deadlineInMillisSinceEpoch = unixTimeInMilliseconds
56
56
self . invokedFunctionARN = invokedFunctionARN
57
- self . traceID = headers. first ( name: AmazonHeaders . traceID) ??
58
- " Root= \( AmazonHeaders . generateXRayTraceID ( ) ) ;Sampled=0 "
57
+ self . traceID = headers. first ( name: AmazonHeaders . traceID) ?? " Root= \( AmazonHeaders . generateXRayTraceID ( ) ) ;Sampled=0 "
59
58
self . clientContext = headers [ " Lambda-Runtime-Client-Context " ] . first
60
59
self . cognitoIdentity = headers [ " Lambda-Runtime-Cognito-Identity " ] . first
61
60
}
You can’t perform that action at this time.
0 commit comments