rename VERIFY_SCHEDULE_SCHEMA to VERIFICATION_SCHEDULE_SCHEMA

Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
This commit is contained in:
Hannes Laimer 2020-10-20 11:10:03 +02:00 committed by Thomas Lamprecht
parent 2d3d91b1db
commit 78efafc2d0
3 changed files with 4 additions and 4 deletions

View File

@ -77,7 +77,7 @@ pub fn list_datastores(
}, },
"verify-schedule": { "verify-schedule": {
optional: true, optional: true,
schema: VERIFY_SCHEDULE_SCHEMA, schema: VERIFICATION_SCHEDULE_SCHEMA,
}, },
"keep-last": { "keep-last": {
optional: true, optional: true,
@ -216,7 +216,7 @@ pub enum DeletableProperty {
}, },
"verify-schedule": { "verify-schedule": {
optional: true, optional: true,
schema: VERIFY_SCHEDULE_SCHEMA, schema: VERIFICATION_SCHEDULE_SCHEMA,
}, },
"keep-last": { "keep-last": {
optional: true, optional: true,

View File

@ -302,7 +302,7 @@ pub const PRUNE_SCHEDULE_SCHEMA: Schema = StringSchema::new(
.format(&ApiStringFormat::VerifyFn(crate::tools::systemd::time::verify_calendar_event)) .format(&ApiStringFormat::VerifyFn(crate::tools::systemd::time::verify_calendar_event))
.schema(); .schema();
pub const VERIFY_SCHEDULE_SCHEMA: Schema = StringSchema::new( pub const VERIFICATION_SCHEDULE_SCHEMA: Schema = StringSchema::new(
"Run verify job at specified schedule.") "Run verify job at specified schedule.")
.format(&ApiStringFormat::VerifyFn(crate::tools::systemd::time::verify_calendar_event)) .format(&ApiStringFormat::VerifyFn(crate::tools::systemd::time::verify_calendar_event))
.schema(); .schema();

View File

@ -46,7 +46,7 @@ pub const DIR_NAME_SCHEMA: Schema = StringSchema::new("Directory name").schema()
}, },
"verify-schedule": { "verify-schedule": {
optional: true, optional: true,
schema: VERIFY_SCHEDULE_SCHEMA, schema: VERIFICATION_SCHEDULE_SCHEMA,
}, },
"keep-last": { "keep-last": {
optional: true, optional: true,