summaryrefslogtreecommitdiffstats
path: root/src/live/ogOperations.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/live/ogOperations.py')
-rw-r--r--src/live/ogOperations.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index d557fac..e8a3b40 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -452,6 +452,14 @@ class OgLiveOperations:
logging.info('Image restore command OK')
+ json_dict = {
+ 'disk': request.getDisk(),
+ 'partition': request.getPartition(),
+ 'image_id': request.getId(),
+ 'cache': self._get_cache_contents(),
+ }
+ return json_dict
+
def image_create(self, request, ogRest):
disk = int(request.getDisk())
partition = int(request.getPartition())