DatastoreTuning: fix serde attributes

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
Dietmar Maurer 2023-11-12 12:02:19 +01:00
parent ecca38b94b
commit 7cb2d72b97

View File

@ -213,7 +213,9 @@ pub enum DatastoreFSyncLevel {
/// Datastore tuning options
pub struct DatastoreTuning {
/// Iterate chunks in this order
#[serde(skip_serializing_if = "Option::is_none")]
pub chunk_order: Option<ChunkOrder>,
#[serde(skip_serializing_if = "Option::is_none")]
pub sync_level: Option<DatastoreFSyncLevel>,
}