From 7fac7a62cffe83ca245292c5c40b718979677808 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 30 Sep 2024 03:51:39 -0400 Subject: [PATCH] Clean up debug print statements --- api-daemon/pvcapid/helper.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/api-daemon/pvcapid/helper.py b/api-daemon/pvcapid/helper.py index 35e12536..e9ab460f 100755 --- a/api-daemon/pvcapid/helper.py +++ b/api-daemon/pvcapid/helper.py @@ -1382,16 +1382,11 @@ def vm_snapshot_receive_block_diff( chunk = stream.read() - print(type(chunk)) - print(len(chunk)) - # Extract the offset and length (8 bytes each) and the data offset = int.from_bytes(chunk[:8], "big") length = int.from_bytes(chunk[8:16], "big") data = chunk[16 : 16 + length] - print(f"Writing {length} bytes to {offset}") - written = image.write(data, offset) - print(f"Wrote {written} bytes") + image.write(data, offset) image.close() ioctx.close()