Skip to content

Commit 782c0f3

Browse files
authored
InitializationContext should be a value not reference type (#219)
1 parent f01a9b6 commit 782c0f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AWSLambdaRuntimeCore/LambdaContext.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import NIOCore
2121
extension Lambda {
2222
/// Lambda runtime initialization context.
2323
/// The Lambda runtime generates and passes the `InitializationContext` to the Lambda factory as an argument.
24-
public final class InitializationContext {
24+
public struct InitializationContext {
2525
/// `Logger` to log with
2626
///
2727
/// - note: The `LogLevel` can be configured using the `LOG_LEVEL` environment variable.

0 commit comments

Comments
 (0)