Skip to content

Commit

Permalink
remove pod finalizer
Browse files Browse the repository at this point in the history
  • Loading branch information
bearslyricattack committed Sep 10, 2024
1 parent b12a8ed commit b1741bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ func (r *DevboxReconciler) removeAll(ctx context.Context, devbox *devboxv1alpha1
return err
}
for _, pod := range podList.Items {
pod.Finalizers = nil
controllerutil.RemoveFinalizer(&pod, FinalizerName)
if err := r.Update(ctx, &pod); err != nil {
return err
}
Expand Down

0 comments on commit b1741bf

Please sign in to comment.