Skip to content

Commit 2dbba78

Browse files
authored
Use a protocol type instead of the concrete type (#353)
Use a protocol type instead of the concrete type.
1 parent 9f5aaf2 commit 2dbba78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vminitd/Sources/vminitd/Server.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import NIOPosix
2424
final class Initd: Sendable {
2525
let log: Logger
2626
let state: State
27-
let group: MultiThreadedEventLoopGroup
27+
let group: EventLoopGroup
2828

2929
actor State {
3030
var containers: [String: ManagedContainer] = [:]
@@ -80,7 +80,7 @@ final class Initd: Sendable {
8080
}
8181
}
8282

83-
init(log: Logger, group: MultiThreadedEventLoopGroup) {
83+
init(log: Logger, group: EventLoopGroup) {
8484
self.log = log
8585
self.group = group
8686
self.state = State()

0 commit comments

Comments
 (0)