Skip to content

Commit aa6395f

Browse files
committed
revert unwanted change
1 parent 0509eaa commit aa6395f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AWSLambdaRuntime/ControlPlaneRequest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ package struct InvocationMetadata: Hashable {
3737
package let cognitoIdentity: String?
3838

3939
package init(headers: HTTPHeaders) throws(LambdaRuntimeError) {
40-
guard let requestID: String = headers.first(name: AmazonHeaders.requestID), !requestID.isEmpty else {
40+
guard let requestID = headers.first(name: AmazonHeaders.requestID), !requestID.isEmpty else {
4141
throw LambdaRuntimeError(code: .nextInvocationMissingHeaderRequestID)
4242
}
4343

0 commit comments

Comments
 (0)