From 57b96cbaefca6c1ee9efc96bc6c2b5560c6ad938 Mon Sep 17 00:00:00 2001 From: Danny Canter Date: Sat, 4 Apr 2026 14:14:36 -0700 Subject: [PATCH] VirtualMachineInstance: Make default impls public The pause and resume methods need to be public if someone wants to make their own VirtualMachineInstance --- Sources/Containerization/VirtualMachineInstance.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Containerization/VirtualMachineInstance.swift b/Sources/Containerization/VirtualMachineInstance.swift index 070cee87..8737730b 100644 --- a/Sources/Containerization/VirtualMachineInstance.swift +++ b/Sources/Containerization/VirtualMachineInstance.swift @@ -52,10 +52,10 @@ public protocol VirtualMachineInstance: Sendable { } extension VirtualMachineInstance { - func pause() async throws { + public func pause() async throws { throw ContainerizationError(.unsupported, message: "pause") } - func resume() async throws { + public func resume() async throws { throw ContainerizationError(.unsupported, message: "resume") } }