Add skip_serializing_none

This commit is contained in:
Arpad Müller
2024-12-03 15:58:57 +01:00
parent dcb24ce170
commit 6077f5062d

View File

@@ -327,6 +327,7 @@ impl Default for ShardParameters {
/// An alternative representation of `pageserver::tenant::TenantConf` with
/// simpler types.
#[serde_with::skip_serializing_none]
#[derive(Serialize, Deserialize, Debug, Default, Clone, Eq, PartialEq)]
pub struct TenantConfig {
pub checkpoint_distance: Option<u64>,