Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Pedriza <adripedriza@gmail.com>
  • Loading branch information
AdrianPedriza committed Feb 4, 2025
1 parent 016c67a commit 6e9350c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions e2e/util/controlplane.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,17 +98,6 @@ func UpgradeControlPlaneAndWaitForReadyUpgrade(ctx context.Context, input Upgrad
return fmt.Errorf("failed to patch the new kubernetes version to controlplane %s: %w", klog.KObj(input.ControlPlane), err)
}

// TODO: avoid check node conditions because "NodeHealthy" is "False" due to
// NodeMemoryPressure and NodePIDPressure is False

// Logf("Waiting for control-plane machines to have the upgraded kubernetes version")
//capiframework.WaitForControlPlaneMachinesToBeUpgraded(ctx, capiframework.WaitForControlPlaneMachinesToBeUpgradedInput{
// Lister: mgmtClient,
// Cluster: input.Cluster,
// MachineCount: int(input.ControlPlane.Spec.Replicas),
// KubernetesUpgradeVersion: input.KubernetesUpgradeVersion,
// }, "10m")

controlplaneObjectKey := crclient.ObjectKey{
Name: input.ControlPlane.Name,
Namespace: input.ControlPlane.Namespace,
Expand Down

0 comments on commit 6e9350c

Please sign in to comment.