mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-18 07:23:47 +02:00
Fix dynampis resume API
This commit is contained in:
parent
e910167a85
commit
1ca445d5f5
@ -204,7 +204,7 @@ class DynamipsVMHandler:
|
|||||||
404: "Instance doesn't exist"
|
404: "Instance doesn't exist"
|
||||||
},
|
},
|
||||||
description="Resume a suspended Dynamips VM instance")
|
description="Resume a suspended Dynamips VM instance")
|
||||||
def suspend(request, response):
|
def resume(request, response):
|
||||||
|
|
||||||
dynamips_manager = Dynamips.instance()
|
dynamips_manager = Dynamips.instance()
|
||||||
vm = dynamips_manager.get_vm(request.match_info["vm_id"], project_id=request.match_info["project_id"])
|
vm = dynamips_manager.get_vm(request.match_info["vm_id"], project_id=request.match_info["project_id"])
|
||||||
|
Loading…
Reference in New Issue
Block a user