LinuxContainer: Fix build break (#218)

Crummy rebase that didn't pickup the Mutex changes
This commit is contained in:
Danny Canter
2025-07-18 08:44:16 -07:00
committed by GitHub
parent c4b6b68ce7
commit 8b93a2083a
@@ -327,8 +327,8 @@ extension LinuxContainer {
/// Hostname mapping configurations for the container.
public var hosts: Hosts? {
get { config.hosts }
set { config.hosts = newValue }
get { config.withLock { $0.hosts } }
set { config.withLock { $0.hosts = newValue } }
}
/// Unix sockets to share into or out of the container.