mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-14 12:52:55 +00:00
api: admin: sync: add direction to sync job status
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
bfffbef9b2
commit
efc45db20c
@ -660,6 +660,9 @@ impl SyncJobConfig {
|
|||||||
status: {
|
status: {
|
||||||
type: JobScheduleStatus,
|
type: JobScheduleStatus,
|
||||||
},
|
},
|
||||||
|
direction: {
|
||||||
|
type: SyncDirection,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
)]
|
)]
|
||||||
#[derive(Serialize, Deserialize, Clone, PartialEq)]
|
#[derive(Serialize, Deserialize, Clone, PartialEq)]
|
||||||
@ -670,6 +673,9 @@ pub struct SyncJobStatus {
|
|||||||
pub config: SyncJobConfig,
|
pub config: SyncJobConfig,
|
||||||
#[serde(flatten)]
|
#[serde(flatten)]
|
||||||
pub status: JobScheduleStatus,
|
pub status: JobScheduleStatus,
|
||||||
|
|
||||||
|
/// The direction of the job
|
||||||
|
pub direction: SyncDirection,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// These are used separately without `ns`/`max-depth` sometimes in the API, specifically in the API
|
/// These are used separately without `ns`/`max-depth` sometimes in the API, specifically in the API
|
||||||
|
Loading…
Reference in New Issue
Block a user