From c2f1e7ea2cb540a65d29a29e01e7059b0c153e7d Mon Sep 17 00:00:00 2001 From: Mitali Paygude Date: Thu, 18 May 2023 15:34:14 -0400 Subject: [PATCH] update cluster --- pkg/validations/upgradevalidations/preflightvalidations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/validations/upgradevalidations/preflightvalidations.go b/pkg/validations/upgradevalidations/preflightvalidations.go index a08c0e4472ae..7ba110da2edb 100644 --- a/pkg/validations/upgradevalidations/preflightvalidations.go +++ b/pkg/validations/upgradevalidations/preflightvalidations.go @@ -121,7 +121,7 @@ func (u *UpgradeValidations) PreflightValidations(ctx context.Context) []validat return &validations.ValidationResult{ Name: "validate pod disruption budgets", Remediation: "", - Err: ValidatePodDisruptionBudgets(ctx, k, targetCluster), + Err: ValidatePodDisruptionBudgets(ctx, k, u.Opts.WorkloadCluster), } }) }