From 009677f01982b13ca352bb41ad5b769077a107cb Mon Sep 17 00:00:00 2001 From: ziajka Date: Tue, 7 Nov 2017 11:15:49 +0100 Subject: [PATCH] Fix typo in vcpus on VirtualBoxVM, fixes: #1213 --- gns3server/controller/gns3vm/virtualbox_gns3_vm.py | 2 +- gns3server/schemas/gns3vm.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gns3server/controller/gns3vm/virtualbox_gns3_vm.py b/gns3server/controller/gns3vm/virtualbox_gns3_vm.py index 189b40c5..cad08b71 100644 --- a/gns3server/controller/gns3vm/virtualbox_gns3_vm.py +++ b/gns3server/controller/gns3vm/virtualbox_gns3_vm.py @@ -175,7 +175,7 @@ class VirtualBoxGNS3VM(BaseGNS3VM): log.info('"{}" state is {}'.format(self._vmname, vm_state)) if vm_state == "poweroff": - yield from self.set_vcpus(self.vpcus) + yield from self.set_vcpus(self.vcpus) yield from self.set_ram(self.ram) if vm_state in ("poweroff", "saved"): diff --git a/gns3server/schemas/gns3vm.py b/gns3server/schemas/gns3vm.py index c49f4a82..98c73273 100644 --- a/gns3server/schemas/gns3vm.py +++ b/gns3server/schemas/gns3vm.py @@ -42,7 +42,7 @@ GNS3VM_SETTINGS_SCHEMA = { "enum": ["vmware", "virtualbox", None] }, "vcpus": { - "description": "Number of VPCUS affected to the VM", + "description": "Number of vCPUS affected to the VM", "type": "integer" }, "ram": {