From 9d8a95cc743853b60df47fbb08f51e2605fc2ad7 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Thu, 4 Jul 2024 16:33:01 +0200 Subject: live: add checksum field to image/create response Report image checksum to ogserver through HTTP response. --- src/ogRest.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ogRest.py') diff --git a/src/ogRest.py b/src/ogRest.py index 8e90842..4a734f7 100644 --- a/src/ogRest.py +++ b/src/ogRest.py @@ -209,6 +209,7 @@ class ogThread(): json_body.add_element('size', image_info.size) json_body.add_element('perms', image_info.perms) json_body.add_element('lastupdate', image_info.mtime) + json_body.add_element('checksum', image_info.checksum) response = restResponse(ogResponses.OK, json_body, seq=client.seq) client.send(response.get()) -- cgit v1.2.3-18-g5258