Skip to content

Commit c7decaf

Browse files
authored
TAS: Fix TopologyUngator LeaderElection trigger (#4653)
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
1 parent b5ba240 commit c7decaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/tas/topology_ungater.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func (r *topologyUngater) setupWithManager(mgr ctrl.Manager, cfg *configapi.Conf
9494
Watches(&corev1.Pod{}, &podHandler).
9595
WithOptions(controller.Options{NeedLeaderElection: ptr.To(false)}).
9696
WithEventFilter(r).
97-
Complete(core.WithLeadingManager(mgr, r, &kueue.ClusterQueue{}, cfg))
97+
Complete(core.WithLeadingManager(mgr, r, &kueue.Workload{}, cfg))
9898
}
9999

100100
var _ handler.EventHandler = (*podHandler)(nil)

0 commit comments

Comments
 (0)