mirror of
https://git.proxmox.com/git/proxmox
synced 2025-07-24 19:58:16 +00:00
set default for 'protected' flag
otherwise we cannot properly parse the api return value from older versions, since that field does not exist there. fixes sync from older versions without the protected feature Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
2984877c5e
commit
27e98af425
@ -396,6 +396,7 @@ pub struct SnapshotListItem {
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub owner: Option<Authid>,
|
||||
/// Protection from prunes
|
||||
#[serde(default)]
|
||||
pub protected: bool,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user