diff --git a/src/api2/config/datastore.rs b/src/api2/config/datastore.rs index 7ab36047..7bb13c4b 100644 --- a/src/api2/config/datastore.rs +++ b/src/api2/config/datastore.rs @@ -243,12 +243,12 @@ pub fn update_datastore( comment: Option, gc_schedule: Option, prune_schedule: Option, - keep_last: Option, - keep_hourly: Option, - keep_daily: Option, - keep_weekly: Option, - keep_monthly: Option, - keep_yearly: Option, + keep_last: Option, + keep_hourly: Option, + keep_daily: Option, + keep_weekly: Option, + keep_monthly: Option, + keep_yearly: Option, delete: Option>, digest: Option, ) -> Result<(), Error> { diff --git a/src/config/datastore.rs b/src/config/datastore.rs index 5c46e07f..5fe55c72 100644 --- a/src/config/datastore.rs +++ b/src/config/datastore.rs @@ -83,17 +83,17 @@ pub struct DataStoreConfig { #[serde(skip_serializing_if="Option::is_none")] pub prune_schedule: Option, #[serde(skip_serializing_if="Option::is_none")] - pub keep_last: Option, + pub keep_last: Option, #[serde(skip_serializing_if="Option::is_none")] - pub keep_hourly: Option, + pub keep_hourly: Option, #[serde(skip_serializing_if="Option::is_none")] - pub keep_daily: Option, + pub keep_daily: Option, #[serde(skip_serializing_if="Option::is_none")] - pub keep_weekly: Option, + pub keep_weekly: Option, #[serde(skip_serializing_if="Option::is_none")] - pub keep_monthly: Option, + pub keep_monthly: Option, #[serde(skip_serializing_if="Option::is_none")] - pub keep_yearly: Option, + pub keep_yearly: Option, } fn init() -> SectionConfig {