mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-18 06:18:08 +00:00
Fix some compute_id detection
This commit is contained in:
parent
eaf621cc57
commit
8c760f3ccc
@ -57,7 +57,7 @@ class ComputeHandler:
|
||||
response.json([c for c in controller.computes.values()])
|
||||
|
||||
@Route.put(
|
||||
r"/computes/{compute_id:.+}",
|
||||
r"/computes/{compute_id}",
|
||||
description="Get a compute server information",
|
||||
status_codes={
|
||||
200: "Compute server updated",
|
||||
@ -107,7 +107,7 @@ class ComputeHandler:
|
||||
response.json(compute)
|
||||
|
||||
@Route.delete(
|
||||
r"/computes/{compute_id:.+}",
|
||||
r"/computes/{compute_id}",
|
||||
parameters={
|
||||
"compute_id": "Compute UUID"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user