Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion vminitd/Sources/vminitd/ManagedContainer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ actor ManagedContainer {
id: id,
stdio: stdio,
bundle: bundle,
cgroupManager: cgManager,
owningPid: nil,
log: log
)
Expand Down
3 changes: 0 additions & 3 deletions vminitd/Sources/vminitd/ManagedProcess.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ final class ManagedProcess: ContainerProcess, Sendable {
private let errorPipe: Pipe
private let terminal: Bool
private let bundle: ContainerizationOCI.Bundle
private let cgroupManager: Cgroup2Manager?

var pid: Int32? {
self.state.withLock {
Expand All @@ -73,7 +72,6 @@ final class ManagedProcess: ContainerProcess, Sendable {
id: String,
stdio: HostStdio,
bundle: ContainerizationOCI.Bundle,
cgroupManager: Cgroup2Manager? = nil,
owningPid: Int32? = nil,
log: Logger
) throws {
Expand Down Expand Up @@ -140,7 +138,6 @@ final class ManagedProcess: ContainerProcess, Sendable {
// Setup IO early. We expect the host to be listening already.
try io.start(process: &command)

self.cgroupManager = cgroupManager
self.command = command
self.terminal = stdio.terminal
self.bundle = bundle
Expand Down
Loading