Skip to content

Commit f671228

Browse files
committed
restrict access to channel handler state variable
1 parent a620a2f commit f671228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AWSLambdaRuntime/LambdaRuntimeClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ private final class LambdaChannelHandler<Delegate: LambdaChannelHandlerDelegate>
475475
}
476476
}
477477

478-
var state: State = .disconnected
478+
private(set) var state: State = .disconnected
479479
private var lastError: Error?
480480
private var reusableErrorBuffer: ByteBuffer?
481481
private let logger: Logger

0 commit comments

Comments
 (0)