Skip to content

Commit a5f3225

Browse files
authored
Merge pull request #1358 from tioxy/fix_metrics_evictoptions
Fix node taint wrong EvictOption field
2 parents bb5930e + 52d2263 commit a5f3225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/framework/plugins/removepodsviolatingnodetaints/node_taint.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ func (d *RemovePodsViolatingNodeTaints) Deschedule(ctx context.Context, nodes []
112112
d.taintFilterFnc,
113113
) {
114114
klog.V(2).InfoS("Not all taints with NoSchedule effect are tolerated after update for pod on node", "pod", klog.KObj(pods[i]), "node", klog.KObj(node))
115-
d.handle.Evictor().Evict(ctx, pods[i], evictions.EvictOptions{ProfileName: PluginName})
115+
d.handle.Evictor().Evict(ctx, pods[i], evictions.EvictOptions{StrategyName: PluginName})
116116
if d.handle.Evictor().NodeLimitExceeded(node) {
117117
break
118118
}

0 commit comments

Comments
 (0)