1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-13 20:08:55 +00:00

Fix NameError: name 'available_ram' is not define

Fix #767
This commit is contained in:
Julien Duponchelle 2016-11-11 10:25:06 +01:00
parent 0f0dff3bbb
commit f968f6616f
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -70,7 +70,7 @@ class VMwareGNS3VM(BaseGNS3VM):
# memory must be a multiple of 4 (VMware requirement)
if ram % 4 != 0:
raise GNS3VMError("Allocated memory for the GNS3 VM must be a multiple of 4".format(available_ram))
raise GNS3VMError("Allocated memory {} for the GNS3 VM must be a multiple of 4".format(ram))
available_vcpus = psutil.cpu_count(logical=False)
if vcpus > available_vcpus: