Fix bug when GNS3 VM were not saved. Fix tests.

This commit is contained in:
grossmj committed 2019-04-14 17:42:20 +07:00
1 parent 6dc58b28fd
commit e962717448
2 files changed
+8 -2

No files matched your search

@@ -72,7 +72,9 @@ class GNS3VMHandler:
})
async def update(request, response):
gns3_vm = Controller().instance().gns3vm
controller = Controller().instance()
gns3_vm = controller.gns3vm
await gns3_vm.update_settings(request.json)
controller.save()
response.json(gns3_vm)
response.set_status(201)