Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed Sep 25, 2023
1 parent 6a72902 commit 96f5d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builder/pdb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use k8s_openapi::{
};
use kube::{Resource, ResourceExt};

#[derive(Debug, Default)]
/// This builder is used to construct [`PodDisruptionBudget`]s.
/// If you are using this to create [`PodDisruptionBudget`]s according to ADR 30 on Pod disruptions,
/// the use of [`PodDisruptionBudgetBuilder::new_with_role`] is recommended.
Expand All @@ -26,6 +25,7 @@ use kube::{Resource, ResourceExt};
/// 3. Either `minAvailable` or `maxUnavailable`
///
/// Both `metadata` and `selector` will be set by [`PodDisruptionBudgetBuilder::new_with_role`].
#[derive(Debug, Default)]
pub struct PodDisruptionBudgetBuilder<ObjectMeta, LabelSelector, PodDisruptionBudgetConstraint> {
metadata: ObjectMeta,
selector: LabelSelector,
Expand Down

0 comments on commit 96f5d9c

Please sign in to comment.