From fe4236dcd805b46618dc2c5e7325d732ac5fd530 Mon Sep 17 00:00:00 2001 From: Roberto Hueso Gómez Date: Wed, 5 Feb 2020 12:39:42 +0100 Subject: Fix /image/restore execution and response --- src/ogRest.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/ogRest.py') diff --git a/src/ogRest.py b/src/ogRest.py index 0d51d6a..b123505 100644 --- a/src/ogRest.py +++ b/src/ogRest.py @@ -161,6 +161,11 @@ class ogThread(): client.send(response.get()) return + jsonResp = jsonResponse() + jsonResp.addElement('disk', request.getDisk()) + jsonResp.addElement('partition', request.getPartition()) + jsonResp.addElement('image_id', request.getId()) + response = restResponse(ogResponses.OK, jsonResp) client.send(response.get()) -- cgit v1.2.3-18-g5258