Skip to content

Commit

Permalink
fix errors in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-henglu committed Aug 20, 2024
1 parent 9de2b3f commit bd91d01
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,7 @@ func TestAccKubernetesCluster_updateVmSizeAfterFailureWithTempWithoutDefault(t *
return fmt.Errorf("creating %s: %+v", tempNodePoolId, err)
}

ignorePodDisruptionBudget := true
deleteOpts := agentpools.DeleteOperationOptions{
IgnorePodDisruptionBudget: &ignorePodDisruptionBudget,
}

if err := client.DeleteThenPoll(ctx, defaultNodePoolId, deleteOpts); err != nil {
if err := client.DeleteThenPoll(ctx, defaultNodePoolId); err != nil {
return fmt.Errorf("deleting default %s: %+v", defaultNodePoolId, err)
}

Expand Down

0 comments on commit bd91d01

Please sign in to comment.