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
1 changed files with 1 additions and 1 deletions

View File

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