fix-3211: manager: Document --notify argument

Signed-off-by: Maximiliano Sandoval R <m.sandoval@proxmox.com>
This commit is contained in:
Maximiliano Sandoval R 2023-10-30 13:27:48 +01:00 committed by Thomas Lamprecht
parent bf9b3e7ac0
commit b01c0f572b

View File

@ -151,12 +151,13 @@ pub struct DatastoreNotify {
pub prune: Option<Notify>,
}
pub const DATASTORE_NOTIFY_STRING_SCHEMA: Schema =
StringSchema::new("Datastore notification setting")
.format(&ApiStringFormat::PropertyString(
&DatastoreNotify::API_SCHEMA,
))
.schema();
pub const DATASTORE_NOTIFY_STRING_SCHEMA: Schema = StringSchema::new(
"Datastore notification setting, enum can be one of 'always', 'never', or 'error'.",
)
.format(&ApiStringFormat::PropertyString(
&DatastoreNotify::API_SCHEMA,
))
.schema();
pub const IGNORE_VERIFIED_BACKUPS_SCHEMA: Schema = BooleanSchema::new(
"Do not verify backups that are already verified if their verification is not outdated.",