Skip to content

Commit 9afe181

Browse files
committed
Fix typos
1 parent ddcc327 commit 9afe181

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/PostgresNIO/Connection/PostgresConnection.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ public final class PostgresConnection: @unchecked Sendable {
6464

6565
switch configuration.tls.base {
6666
case .prefer(let context), .require(let context):
67-
configureSSLCallback = { channel, postgreChannelHandler in
67+
configureSSLCallback = { channel, postgresChannelHandler in
6868
channel.eventLoop.assertInEventLoop()
6969

7070
let sslHandler = try NIOSSLClientHandler(
7171
context: context,
7272
serverHostname: configuration.serverNameForTLS
7373
)
74-
try channel.pipeline.syncOperations.addHandler(sslHandler, position: .before(postgreChannelHandler))
74+
try channel.pipeline.syncOperations.addHandler(sslHandler, position: .before(postgresChannelHandler))
7575
}
7676
case .disable:
7777
configureSSLCallback = nil

0 commit comments

Comments
 (0)