api-types: fixup backup-ns being optional

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2022-04-29 12:11:32 +02:00 committed by Thomas Lamprecht
parent c18d481fd7
commit be5b3ebfdd

View File

@ -809,7 +809,7 @@ impl std::cmp::PartialOrd for BackupType {
#[api(
properties: {
"backup-ns": { type: BackupNamespace },
"backup-ns": { type: BackupNamespace, optional: true },
"backup-type": { type: BackupType },
"backup-id": { schema: BACKUP_ID_SCHEMA },
},