Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
typo
  • Loading branch information
tomerd committed Mar 10, 2020
commit 4d5079a05c7138d2ea4ca54753c79d98f63d77e3
2 changes: 1 addition & 1 deletion Sources/SwiftAwsLambda/LambdaRunner.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ internal struct LambdaRunner {
/// - Returns: An `EventLoopFuture<LambdaHandler>` fulfilled with the outcome of the initialization.
func initialize(logger: Logger, factory: @escaping LambdaHandlerFactory) -> EventLoopFuture<LambdaHandler> {
logger.debug("initializing lambda")
// 1. craete the handler from the factory
// 1. create the handler from the factory
let future = bootstrap(eventLoop: self.eventLoop, lifecycleId: self.lifecycleId, offload: self.offload, factory: factory)
// 2. report initialization error if one occured
return future.peekError { error in
Expand Down