mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-13 20:15:10 +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: {
|
||||
type: JobScheduleStatus,
|
||||
},
|
||||
direction: {
|
||||
type: SyncDirection,
|
||||
},
|
||||
},
|
||||
)]
|
||||
#[derive(Serialize, Deserialize, Clone, PartialEq)]
|
||||
@ -670,6 +673,9 @@ pub struct SyncJobStatus {
|
||||
pub config: SyncJobConfig,
|
||||
#[serde(flatten)]
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user