Skip to content

Commit

Permalink
change pending type
Browse files Browse the repository at this point in the history
  • Loading branch information
nawazkh committed Dec 10, 2024
1 parent eb4ac3d commit 104de73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/azure_apiserver_ilb.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func AzureAPIServerILBSpec(ctx context.Context, inputGetter func() AzureAPIServe
fmt.Fprintf(GinkgoWriter, "Worker DS Pod Annotations: %v\n", pod.Annotations)
fmt.Fprintf(GinkgoWriter, "Worker DS Pod Containers: %v\n", pod.Spec.Containers)

if pod.Status.Phase != corev1.Pending {
if pod.Status.Phase != corev1.PodPending {
fmt.Fprintf(GinkgoWriter, "Pod %s is not in Pending phase\n", pod.Name)
return false /* retry */, nil
}
Expand Down

0 comments on commit 104de73

Please sign in to comment.