Skip to content

Commit

Permalink
feat: BroadcastJob Controller list pods add the disableDeepCopy optio…
Browse files Browse the repository at this point in the history
…ns (openkruise#1593) (openkruise#1696)

Signed-off-by: Prepmachine4 <prepmachine4@gmail.com>
  • Loading branch information
Prepmachine4 authored Aug 28, 2024
1 parent 8f4095a commit d25f72f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/broadcastjob/broadcastjob_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func (r *ReconcileBroadcastJob) Reconcile(_ context.Context, request reconcile.R
Namespace: request.Namespace,
LabelSelector: labels.SelectorFromSet(labelsAsMap(job)),
}
err = r.List(context.TODO(), podList, listOptions)
err = r.List(context.TODO(), podList, listOptions, utilclient.DisableDeepCopy)
if err != nil {
klog.ErrorS(err, "Failed to get podList for BroadcastJob", "broadcastJob", klog.KObj(job))
return reconcile.Result{}, err
Expand Down

0 comments on commit d25f72f

Please sign in to comment.