Skip to content

Commit 7d9915c

Browse files
authored
Update internal typealias misspelling (#60)
### Motivation: Noticed a misspelling for EventLoopGroupContainer as EventLoopGroupConainer in CassandraClient.swift ### Modifications: Updated the misspelling from EventLoopGroupConainer to EventLoopGroupContainer
1 parent acb3835 commit 7d9915c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sources/CassandraClient/CassandraClient.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import NIOConcurrencyHelpers
2121
/// `CassandraClient` is a wrapper around the [Datastax Cassandra C++ Driver](https://github.com/datastax/cpp-driver)
2222
/// and can be used to run queries against a Cassandra database.
2323
public class CassandraClient: CassandraSession {
24-
private let eventLoopGroupContainer: EventLoopGroupConainer
24+
private let eventLoopGroupContainer: EventLoopGroupContainer
2525
public var eventLoopGroup: EventLoopGroup {
2626
self.eventLoopGroupContainer.value
2727
}
@@ -306,4 +306,4 @@ extension CassandraClient {
306306
}
307307
}
308308

309-
internal typealias EventLoopGroupConainer = (value: EventLoopGroup, managed: Bool)
309+
internal typealias EventLoopGroupContainer = (value: EventLoopGroup, managed: Bool)

Sources/CassandraClient/Session.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ extension CassandraSession {
222222

223223
extension CassandraClient {
224224
internal final class Session: CassandraSession {
225-
private let eventLoopGroupContainer: EventLoopGroupConainer
225+
private let eventLoopGroupContainer: EventLoopGroupContainer
226226
public var eventLoopGroup: EventLoopGroup {
227227
self.eventLoopGroupContainer.value
228228
}
@@ -245,7 +245,7 @@ extension CassandraClient {
245245
internal init(
246246
configuration: Configuration,
247247
logger: Logger,
248-
eventLoopGroupContainer: EventLoopGroupConainer
248+
eventLoopGroupContainer: EventLoopGroupContainer
249249
) {
250250
self.configuration = configuration
251251
self.logger = logger

0 commit comments

Comments
 (0)