add verify_schedule field to DataStoreConfig
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
This commit is contained in:
parent
f37ef25bdd
commit
ccd7241e2f
@ -44,6 +44,10 @@ pub const DIR_NAME_SCHEMA: Schema = StringSchema::new("Directory name").schema()
|
|||||||
optional: true,
|
optional: true,
|
||||||
schema: PRUNE_SCHEDULE_SCHEMA,
|
schema: PRUNE_SCHEDULE_SCHEMA,
|
||||||
},
|
},
|
||||||
|
"verify-schedule": {
|
||||||
|
optional: true,
|
||||||
|
schema: VERIFY_SCHEDULE_SCHEMA,
|
||||||
|
},
|
||||||
"keep-last": {
|
"keep-last": {
|
||||||
optional: true,
|
optional: true,
|
||||||
schema: PRUNE_SCHEMA_KEEP_LAST,
|
schema: PRUNE_SCHEMA_KEEP_LAST,
|
||||||
@ -83,6 +87,8 @@ pub struct DataStoreConfig {
|
|||||||
#[serde(skip_serializing_if="Option::is_none")]
|
#[serde(skip_serializing_if="Option::is_none")]
|
||||||
pub prune_schedule: Option<String>,
|
pub prune_schedule: Option<String>,
|
||||||
#[serde(skip_serializing_if="Option::is_none")]
|
#[serde(skip_serializing_if="Option::is_none")]
|
||||||
|
pub verify_schedule: Option<String>,
|
||||||
|
#[serde(skip_serializing_if="Option::is_none")]
|
||||||
pub keep_last: Option<u64>,
|
pub keep_last: Option<u64>,
|
||||||
#[serde(skip_serializing_if="Option::is_none")]
|
#[serde(skip_serializing_if="Option::is_none")]
|
||||||
pub keep_hourly: Option<u64>,
|
pub keep_hourly: Option<u64>,
|
||||||
|
Loading…
Reference in New Issue
Block a user