Skip to content

Commit 9f8f864

Browse files
committed
Fixed another pr comment
1 parent 2346094 commit 9f8f864

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/AWSLambdaRuntimeCore/Lambda.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,10 @@ public enum Lambda {
109109
lifecycle.shutdown()
110110
}
111111

112-
_ = lifecycle.start().flatMap {
112+
lifecycle.start().flatMap {
113113
lifecycle.shutdownFuture
114114
}
115-
.always { lifecycleResult in
115+
.whenComplete { lifecycleResult in
116116
signalSource.cancel()
117117
eventLoop.shutdownGracefully { error in
118118
if let error = error {

0 commit comments

Comments
 (0)