Skip to content

Commit

Permalink
Fix bug with forgotten old way pod readiness check
Browse files Browse the repository at this point in the history
  • Loading branch information
e-sumin committed Sep 19, 2023
1 parent 57ecd20 commit c4c35e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/function/delete_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func deleteDataPodFunc(
pod := pc.Pod()

// Wait for pod to reach running state
if err := kube.WaitForPodReady(ctx, cli, pod.Namespace, pod.Name); err != nil {
if err := pc.WaitForPodReady(ctx); err != nil {
return nil, errors.Wrapf(err, "Failed while waiting for Pod %s to be ready", pod.Name)
}

Expand Down

0 comments on commit c4c35e7

Please sign in to comment.