diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-07-04 16:33:01 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-07-15 09:50:30 +0200 |
commit | 9d8a95cc743853b60df47fbb08f51e2605fc2ad7 (patch) | |
tree | 7638f0ea86ba037dcf014c0ecddf9fb62bc34f60 /src/utils | |
parent | 43039749c50a4fadd085418e262a50ea0d4f1357 (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.py | 1 |
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): |