Skip to content

Commit 8f22f86

Browse files
author
Andrea Scuderi
committed
Update package
1 parent 90c5b2d commit 8f22f86

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ let package = Package(
2626
)
2727
],
2828
dependencies: [
29-
.package(url: "https://github.com/awslabs/swift-aws-lambda-runtime", from: "2.2.0"),
29+
.package(url: "https://github.com/awslabs/swift-aws-lambda-runtime", from: "2.5.0"),
3030
.package(url: "https://github.com/awslabs/swift-aws-lambda-events.git", from: "0.5.0"),
3131
.package(url: "https://github.com/swift-server/swift-service-lifecycle.git", from: "2.0.0"),
3232
.package(url: "https://github.com/soto-project/soto.git", from: "7.0.0"),

Sources/BreezeLambdaAPI/BreezeLambdaAPI.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ public actor BreezeLambdaAPI<T: BreezeCodable>: Service {
8787
///
8888
/// The internal ServiceGroup will handle the lifecycle of the BreezeLambdaAPI, including starting and stopping the service gracefully.
8989
public func run() async throws {
90+
logger.info("Starting BreezeLambdaAPI...")
9091
try await serviceGroup.run()
9192
logger.info("BreezeLambdaAPI is stopped successfully")
9293
}

Tests/BreezeLambdaAPITests/Lambda.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ extension AWSLambdaRuntime.Lambda {
6767
let context = LambdaContext.__forTestsOnly(
6868
requestID: UUID().uuidString,
6969
traceID: UUID().uuidString,
70+
tenantID: nil,
7071
invokedFunctionARN: "arn:",
7172
timeout: .milliseconds(6000),
7273
logger: logger

0 commit comments

Comments
 (0)