From d4d95f02e042eaf61223b9a1a4711037b60f5ae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Tue, 9 Jun 2026 15:45:26 +0200 Subject: [PATCH] Use let for the immutable disk image storage attachment --- Sources/tart/VM.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/tart/VM.swift b/Sources/tart/VM.swift index fc8fc7a..595c2a1 100644 --- a/Sources/tart/VM.swift +++ b/Sources/tart/VM.swift @@ -399,7 +399,7 @@ class VM: NSObject, VZVirtualMachineDelegate, ObservableObject { } // Storage - var attachment = try VZDiskImageStorageDeviceAttachment( + let attachment = try VZDiskImageStorageDeviceAttachment( url: diskURL, readOnly: false, // When not specified, use "cached" caching mode for Linux VMs to prevent file-system corruption[1]