Skip to content

Commit 18589b7

Browse files
committed
Review fixes
1 parent 45d34c4 commit 18589b7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/AWSLambdaRuntimeCore/LambdaRunner.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ extension Lambda {
4747

4848
func run(logger: Logger, handler: Handler) -> EventLoopFuture<Void> {
4949
logger.debug("lambda invocation sequence starting")
50-
// 1. request work from lambda runtime engine
50+
// 1. request invocation from lambda runtime engine
5151
self.isGettingNextInvocation = true
5252
return self.runtimeClient.getNextInvocation(logger: logger).peekError { error in
5353
logger.error("could not fetch work from lambda runtime engine: \(error)")
5454
}.flatMap { invocation, payload in
55-
// 2. send work to handler
55+
// 2. send invocation to handler
5656
self.isGettingNextInvocation = false
5757
let context = Context(logger: logger, eventLoop: self.eventLoop, invocation: invocation)
5858
logger.debug("sending invocation to lambda handler \(handler)")

Sources/StringSample/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
//
1313
//===----------------------------------------------------------------------===//
1414

15-
import AWSLambdaRuntime
15+
import AWSLambdaRuntimeCore
1616
import NIO
1717

1818
// in this example we are receiving and responding with strings

0 commit comments

Comments
 (0)