Skip to content

Commit da7c2fb

Browse files
author
Sebastien Stormacq
committed
swift-format
1 parent a4c04e9 commit da7c2fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/AWSLambdaRuntime/LambdaRuntime.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public final class LambdaRuntime<Handler>: Sendable where Handler: StreamingLamb
7878
// https://docs.aws.amazon.com/lambda/latest/dg/runtimes-api.html
7979
if let runtimeEndpoint = Lambda.env("AWS_LAMBDA_RUNTIME_API") {
8080

81-
// Get the max concurrency authorized by user when running on
81+
// Get the max concurrency authorized by user when running on
8282
// Lambda Managed Instances
8383
// This is not documented anywhere, except the NodeJS runtime
8484
// https://github.com/aws/aws-lambda-nodejs-runtime-interface-client/blob/a4560c87426fa0a34756296a30d7add1388e575c/src/utils/env.ts#L34
@@ -102,7 +102,7 @@ public final class LambdaRuntime<Handler>: Sendable where Handler: StreamingLamb
102102
for i in 0..<maxConcurrency {
103103

104104
group.addTask {
105-
var logger = self.logger
105+
var logger = self.logger
106106
logger[metadataKey: "RIC"] = "\(i)"
107107
try await self.startRuntimeInterfaceClient(
108108
endpoint: runtimeEndpoint,
@@ -113,7 +113,7 @@ public final class LambdaRuntime<Handler>: Sendable where Handler: StreamingLamb
113113
}
114114
}
115115
// Wait for all tasks to complete and propagate any errors
116-
try await group.waitForAll()
116+
try await group.waitForAll()
117117
}
118118
}
119119

0 commit comments

Comments
 (0)