mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fix bug when GNS3 VM were not saved. Fix tests.
This commit is contained in:
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)
|
||||
Reference in new issue
Block a user