Skip to content

Commit 7523d68

Browse files
Update to containerization 0.0.3 (#21)
Update containerization to take new breaking changes apple/containerization#22 Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
1 parent 210227e commit 7523d68

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Package.resolved

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if let path = ProcessInfo.processInfo.environment["CONTAINERIZATION_PATH"] {
2626
scDependency = .package(path: path)
2727
scVersion = "latest"
2828
} else {
29-
scVersion = "0.0.2"
29+
scVersion = "0.0.3"
3030
if let containerizationRepo = ProcessInfo.processInfo.environment["CONTAINERIZATION_REPO"], containerizationRepo != "" {
3131
scDependency = .package(url: containerizationRepo, exact: Version(stringLiteral: scVersion))
3232
} else {

Sources/Services/ContainerSandboxService/SandboxService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ public actor SandboxService {
264264
for mount in config.mounts {
265265
if try mount.isSocket() {
266266
let socket = UnixSocketConfiguration(
267-
host: URL(filePath: mount.source),
267+
source: URL(filePath: mount.source),
268268
destination: URL(filePath: mount.destination)
269269
)
270270
container.sockets.append(socket)

0 commit comments

Comments
 (0)