summaryrefslogtreecommitdiffstats
path: root/src/virtual
diff options
context:
space:
mode:
Diffstat (limited to 'src/virtual')
-rw-r--r--src/virtual/ogOperations.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/virtual/ogOperations.py b/src/virtual/ogOperations.py
index d40170e..1e2a682 100644
--- a/src/virtual/ogOperations.py
+++ b/src/virtual/ogOperations.py
@@ -457,7 +457,14 @@ class OgVirtualOperations:
subprocess.run([f'umount {self.OG_IMAGES_PATH}'], shell=True)
self.refresh(ogRest)
- return True
+ json_dict = {
+ 'disk': request.getDisk(),
+ 'partition': request.getPartition(),
+ 'image_id': request.getId(),
+ 'cache': [],
+ }
+
+ return json_dict
def cache_delete(self, request, ogRest):
raise NotImplementedError