Skip to content

Commit

Permalink
fix: Handle Succeeded case
Browse files Browse the repository at this point in the history
  • Loading branch information
Y-- committed Nov 21, 2024
1 parent da51500 commit bb83f83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/skaffold/kubernetes/status/resource/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ func (r *Resource) checkStandalonePodsStatus(ctx context.Context, cfg kubectl.Co
if podReady, _ := strconv.ParseBool(string(b)); !podReady {
pendingPods = append(pendingPods, pod.Name())
}
case "Succeeded":
log.Entry(ctx).Debugf("pod '%s' succeeded - ignoring", pod.Name())
default:
pendingPods = append(pendingPods, pod.Name())
}
Expand Down

0 comments on commit bb83f83

Please sign in to comment.