mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-29 22:58:59 +00:00
DatastoreTuning: fix serde attributes
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
parent
ecca38b94b
commit
7cb2d72b97
@ -213,7 +213,9 @@ pub enum DatastoreFSyncLevel {
|
|||||||
/// Datastore tuning options
|
/// Datastore tuning options
|
||||||
pub struct DatastoreTuning {
|
pub struct DatastoreTuning {
|
||||||
/// Iterate chunks in this order
|
/// Iterate chunks in this order
|
||||||
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub chunk_order: Option<ChunkOrder>,
|
pub chunk_order: Option<ChunkOrder>,
|
||||||
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub sync_level: Option<DatastoreFSyncLevel>,
|
pub sync_level: Option<DatastoreFSyncLevel>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user