Skip to content

Commit 6d5ad57

Browse files
committed
Tests work again
1 parent 2b2917d commit 6d5ad57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/AWSLambdaRuntimeCore/NewLambdaRuntimeClient.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ private final class LambdaChannelHandler<Delegate> {
463463
) {
464464
if let requestID = sendHeadWithRequestID {
465465
// TODO: This feels quite expensive. We should be able to make this cheaper. requestIDs are fixed length
466-
let url = "\(Consts.invocationURLPrefix)/\(requestID)/\(Consts.postResponseURLSuffix)"
466+
let url = "\(Consts.invocationURLPrefix)/\(requestID)\(Consts.postResponseURLSuffix)"
467467

468468
// If we have less than 6MB, we don't want to use the streaming API. If we have more
469469
// than 6MB we must use the streaming mode.
@@ -510,7 +510,7 @@ private final class LambdaChannelHandler<Delegate> {
510510

511511
private func sendReportErrorRequest(requestID: String, error: any Error, context: ChannelHandlerContext) {
512512
// TODO: This feels quite expensive. We should be able to make this cheaper. requestIDs are fixed length
513-
let url = "\(Consts.invocationURLPrefix)/\(requestID)/\(Consts.postErrorURLSuffix)"
513+
let url = "\(Consts.invocationURLPrefix)/\(requestID)\(Consts.postErrorURLSuffix)"
514514

515515
let httpRequest = HTTPRequestHead(
516516
version: .http1_1,

0 commit comments

Comments
 (0)