forked from Proxmox/proxmox
apt-api-types: fix backward compatibility by encoding digest as array
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
parent
282e00d429
commit
bcca060a93
@ -185,8 +185,9 @@ pub struct APTRepositoryFile {
|
||||
pub content: Option<String>,
|
||||
|
||||
/// Digest of the original contents.
|
||||
// We cannot use ConfigDigest here for compatibility reasons.
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub digest: Option<ConfigDigest>,
|
||||
pub digest: Option<[u8; 32]>,
|
||||
}
|
||||
|
||||
#[api]
|
||||
|
Loading…
Reference in New Issue
Block a user