Skip to content

Commit

Permalink
add serde(default)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed Sep 19, 2023
1 parent b44bcfe commit 19144b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commons/pdb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ pub struct Pdb {
/// The number of Pods that are allowed to be down because of voluntary disruptions.
/// If you don't explicitly set this, the operator will use a sane default based
/// upon knowledge about the individual product.
#[serde(default)]
pub max_unavailable: Option<u16>,
}

Expand Down

0 comments on commit 19144b5

Please sign in to comment.