From 8b93a2083a831cb369df38706f2b9be5fb62a0e1 Mon Sep 17 00:00:00 2001 From: Danny Canter Date: Fri, 18 Jul 2025 08:44:16 -0700 Subject: [PATCH] LinuxContainer: Fix build break (#218) Crummy rebase that didn't pickup the Mutex changes --- Sources/Containerization/LinuxContainer.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Containerization/LinuxContainer.swift b/Sources/Containerization/LinuxContainer.swift index 1720934d..9eb99f93 100644 --- a/Sources/Containerization/LinuxContainer.swift +++ b/Sources/Containerization/LinuxContainer.swift @@ -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.