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,8 +151,9 @@ pub struct DatastoreNotify {
pub prune: Option<Notify>, pub prune: Option<Notify>,
} }
pub const DATASTORE_NOTIFY_STRING_SCHEMA: Schema = pub const DATASTORE_NOTIFY_STRING_SCHEMA: Schema = StringSchema::new(
StringSchema::new("Datastore notification setting") "Datastore notification setting, enum can be one of 'always', 'never', or 'error'.",
)
.format(&ApiStringFormat::PropertyString( .format(&ApiStringFormat::PropertyString(
&DatastoreNotify::API_SCHEMA, &DatastoreNotify::API_SCHEMA,
)) ))