From 96f5d9c7abfaa0a62616b9c17482a7bcbdbfdfb1 Mon Sep 17 00:00:00 2001 From: Sebastian Bernauer Date: Mon, 25 Sep 2023 11:23:03 +0200 Subject: [PATCH] refactor --- src/builder/pdb.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builder/pdb.rs b/src/builder/pdb.rs index dc9b67d25..4c347e021 100644 --- a/src/builder/pdb.rs +++ b/src/builder/pdb.rs @@ -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. @@ -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 { metadata: ObjectMeta, selector: LabelSelector,