mirror of https://github.com/cirruslabs/tart.git
Fixed error message for incorrect memory (#426)
This commit is contained in:
parent
2be5eedeb6
commit
1f35a9b35e
|
|
@ -147,7 +147,7 @@ struct VMConfig: Codable {
|
|||
mutating func setMemory(memorySize: UInt64) throws {
|
||||
if memorySize < memorySizeMin {
|
||||
throw LessThanMinimalResourcesError("VM should have \(memorySizeMin) bytes"
|
||||
+ " of memory at minimum (requested \(memorySizeMin))")
|
||||
+ " of memory at minimum (requested \(memorySize))")
|
||||
}
|
||||
|
||||
self.memorySize = memorySize
|
||||
|
|
|
|||
Loading…
Reference in New Issue