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:
parent
c18d481fd7
commit
be5b3ebfdd
|
@ -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 },
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue