From 1f35a9b35e269eb819cd3392307f8a4a84c49103 Mon Sep 17 00:00:00 2001 From: Fedor Korotkov Date: Mon, 27 Feb 2023 09:32:40 -0500 Subject: [PATCH] Fixed error message for incorrect memory (#426) --- Sources/tart/VMConfig.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/tart/VMConfig.swift b/Sources/tart/VMConfig.swift index 67d1227..f8a8e0b 100644 --- a/Sources/tart/VMConfig.swift +++ b/Sources/tart/VMConfig.swift @@ -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