From 8c760f3cccf7f29080d0bb3deba7c30696c3af22 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Thu, 2 Jun 2016 19:55:10 +0200 Subject: [PATCH] Fix some compute_id detection --- gns3server/handlers/api/controller/compute_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gns3server/handlers/api/controller/compute_handler.py b/gns3server/handlers/api/controller/compute_handler.py index 90e37cc6..83a6197e 100644 --- a/gns3server/handlers/api/controller/compute_handler.py +++ b/gns3server/handlers/api/controller/compute_handler.py @@ -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" },