mirror of
https://git.proxmox.com/git/proxmox
synced 2025-07-12 21:49:09 +00:00
verify job cleanup: use Updater/flatten
This commit is contained in:
parent
7760d5679c
commit
5f13dcc5fc
@ -175,11 +175,12 @@ pub const VERIFICATION_OUTDATED_AFTER_SCHEMA: Schema = IntegerSchema::new(
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
)]
|
)]
|
||||||
#[derive(Serialize,Deserialize)]
|
#[derive(Serialize,Deserialize,Updater)]
|
||||||
#[serde(rename_all="kebab-case")]
|
#[serde(rename_all="kebab-case")]
|
||||||
/// Verification Job
|
/// Verification Job
|
||||||
pub struct VerificationJobConfig {
|
pub struct VerificationJobConfig {
|
||||||
/// unique ID to address this job
|
/// unique ID to address this job
|
||||||
|
#[updater(skip)]
|
||||||
pub id: String,
|
pub id: String,
|
||||||
/// the datastore ID this verificaiton job affects
|
/// the datastore ID this verificaiton job affects
|
||||||
pub store: String,
|
pub store: String,
|
||||||
|
Loading…
Reference in New Issue
Block a user