rename VERIFY_SCHEDULE_SCHEMA to VERIFICATION_SCHEDULE_SCHEMA
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
This commit is contained in:
parent
2d3d91b1db
commit
78efafc2d0
|
@ -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,
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue