mirror of https://github.com/cirruslabs/tart.git
Use let for the immutable disk image storage attachment
This commit is contained in:
parent
6ada2b955d
commit
d4d95f02e0
|
|
@ -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]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue