mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-04-26 05:49:55 +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()])
|
response.json([c for c in controller.computes.values()])
|
||||||
|
|
||||||
@Route.put(
|
@Route.put(
|
||||||
r"/computes/{compute_id:.+}",
|
r"/computes/{compute_id}",
|
||||||
description="Get a compute server information",
|
description="Get a compute server information",
|
||||||
status_codes={
|
status_codes={
|
||||||
200: "Compute server updated",
|
200: "Compute server updated",
|
||||||
@ -107,7 +107,7 @@ class ComputeHandler:
|
|||||||
response.json(compute)
|
response.json(compute)
|
||||||
|
|
||||||
@Route.delete(
|
@Route.delete(
|
||||||
r"/computes/{compute_id:.+}",
|
r"/computes/{compute_id}",
|
||||||
parameters={
|
parameters={
|
||||||
"compute_id": "Compute UUID"
|
"compute_id": "Compute UUID"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user