When you change settings of the GNS3 VM the VM is reloaded and project using it closed

Fix #644
This commit is contained in:
Julien Duponchelle
2016-08-26 14:09:18 +02:00
parent 5289c714f4
commit 8352ff02a1
7 changed files with 87 additions and 25 deletions

View File

@ -75,6 +75,6 @@ class GNS3VMHandler:
def update(request, response):
gns3_vm = Controller().instance().gns3vm
gns3_vm.settings = request.json
yield from gns3_vm.update_settings(request.json)
response.json(gns3_vm)
response.set_status(201)