Skip to content

Commit

Permalink
Fix hostname of VPCS is not changed
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-duponchelle committed Jan 17, 2017
1 parent e06be67 commit bfb23ce
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gns3server/handlers/api/compute/vpcs_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ def update(request, response):
vm = vpcs_manager.get_node(request.match_info["node_id"], project_id=request.match_info["project_id"])
vm.name = request.json.get("name", vm.name)
vm.console = request.json.get("console", vm.console)
vm.startup_script = request.json.get("startup_script", vm.startup_script)
vm.updated()
response.json(vm)

Expand Down Expand Up @@ -270,7 +269,6 @@ def start_capture(request, response):
yield from vm.start_capture(port_number, pcap_file_path)
response.json({"pcap_file_path": pcap_file_path})


@Route.post(
r"/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture",
parameters={
Expand Down

0 comments on commit bfb23ce

Please sign in to comment.