Skip to content

Commit 7c66455

Browse files
committed
Fix test and code format
1 parent cc6f636 commit 7c66455

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/AWSLambdaRuntimeCore/LambdaRunner.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ extension Lambda {
4141
let context = InitializationContext(logger: logger,
4242
eventLoop: self.eventLoop,
4343
allocator: self.allocator)
44-
return Handler.factory(context: context)
44+
return Handler.makeHandler(context: context)
4545
// Hopping back to "our" EventLoop is important in case the factory returns a future
4646
// that originated from a foreign EventLoop/EventLoopGroup.
4747
// This can happen if the factory uses a library (let's say a database client) that manages its own threads/loops

Sources/AWSLambdaRuntimeCore/NewLambdaRuntime.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public final class NewLambdaRuntime<Handler: ByteBufferLambdaHandler> {
213213
allocator: ByteBufferAllocator()
214214
)
215215

216-
Handler.factory(context: context).hop(to: self.eventLoop).whenComplete { result in
216+
Handler.makeHandler(context: context).hop(to: self.eventLoop).whenComplete { result in
217217
let action: StateMachine.Action
218218
switch result {
219219
case .success(let handler):

0 commit comments

Comments
 (0)