Use let for the immutable disk image storage attachment

This commit is contained in:
Tor Arne Vestbø 2026-06-09 15:45:26 +02:00
parent 6ada2b955d
commit d4d95f02e0
1 changed files with 1 additions and 1 deletions

View File

@ -399,7 +399,7 @@ class VM: NSObject, VZVirtualMachineDelegate, ObservableObject {
} }
// Storage // Storage
var attachment = try VZDiskImageStorageDeviceAttachment( let attachment = try VZDiskImageStorageDeviceAttachment(
url: diskURL, url: diskURL,
readOnly: false, readOnly: false,
// When not specified, use "cached" caching mode for Linux VMs to prevent file-system corruption[1] // When not specified, use "cached" caching mode for Linux VMs to prevent file-system corruption[1]