From be5b3ebfdd883c4f5bebb4e6e3a925027f12672c Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Fri, 29 Apr 2022 12:11:32 +0200 Subject: [PATCH] api-types: fixup backup-ns being optional Signed-off-by: Wolfgang Bumiller Signed-off-by: Thomas Lamprecht --- pbs-api-types/src/datastore.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbs-api-types/src/datastore.rs b/pbs-api-types/src/datastore.rs index 32558066..b75bcf60 100644 --- a/pbs-api-types/src/datastore.rs +++ b/pbs-api-types/src/datastore.rs @@ -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 }, },