From bcca060a93b0f210a9129d4660bd40209d901b03 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 17 Jul 2024 09:35:30 +0200 Subject: [PATCH] apt-api-types: fix backward compatibility by encoding digest as array Signed-off-by: Dietmar Maurer --- proxmox-apt-api-types/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proxmox-apt-api-types/src/lib.rs b/proxmox-apt-api-types/src/lib.rs index 0331ffb6..6025722f 100644 --- a/proxmox-apt-api-types/src/lib.rs +++ b/proxmox-apt-api-types/src/lib.rs @@ -185,8 +185,9 @@ pub struct APTRepositoryFile { pub content: Option, /// Digest of the original contents. + // We cannot use ConfigDigest here for compatibility reasons. #[serde(skip_serializing_if = "Option::is_none")] - pub digest: Option, + pub digest: Option<[u8; 32]>, } #[api]