1
0
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:
Julien Duponchelle 2016-06-02 19:55:10 +02:00
parent eaf621cc57
commit 8c760f3ccc
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -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"
},