summaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-07-04 16:33:01 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-07-15 09:50:30 +0200
commit9d8a95cc743853b60df47fbb08f51e2605fc2ad7 (patch)
tree7638f0ea86ba037dcf014c0ecddf9fb62bc34f60 /src/utils
parent43039749c50a4fadd085418e262a50ea0d4f1357 (diff)
live: add checksum field to image/create response
Report image checksum to ogserver through HTTP response.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/image.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/image.py b/src/utils/image.py
index 088c0c3..fe48a9c 100644
--- a/src/utils/image.py
+++ b/src/utils/image.py
@@ -32,6 +32,7 @@ class ImageInfo:
self.perms = 0
self.clonator = 'PARTCLONE'
self.compressor = 'LZOP'
+ self.checksum = 0
def human_to_kb(size, unit):