File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Sources/AWSLambdaRuntimeCore Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ extension Lambda {
41
41
let context = InitializationContext ( logger: logger,
42
42
eventLoop: self . eventLoop,
43
43
allocator: self . allocator)
44
- return Handler . factory ( context: context)
44
+ return Handler . makeHandler ( context: context)
45
45
// Hopping back to "our" EventLoop is important in case the factory returns a future
46
46
// that originated from a foreign EventLoop/EventLoopGroup.
47
47
// This can happen if the factory uses a library (let's say a database client) that manages its own threads/loops
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ public final class NewLambdaRuntime<Handler: ByteBufferLambdaHandler> {
213
213
allocator: ByteBufferAllocator ( )
214
214
)
215
215
216
- Handler . factory ( context: context) . hop ( to: self . eventLoop) . whenComplete { result in
216
+ Handler . makeHandler ( context: context) . hop ( to: self . eventLoop) . whenComplete { result in
217
217
let action : StateMachine . Action
218
218
switch result {
219
219
case . success( let handler) :
You can’t perform that action at this time.
0 commit comments