Fix some compute_id detection

pull/565/head
Julien Duponchelle 8 years ago
parent eaf621cc57
commit 8c760f3ccc
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

@ -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…
Cancel
Save