mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Fix wrong log
This commit is contained in:
parent
3a863643c3
commit
8dc091ef2e
@ -158,9 +158,6 @@ func (pl *NodeAffinity) Score(ctx context.Context, state *framework.CycleState,
|
|||||||
}
|
}
|
||||||
|
|
||||||
node := nodeInfo.Node()
|
node := nodeInfo.Node()
|
||||||
if node == nil {
|
|
||||||
return 0, framework.AsStatus(fmt.Errorf("getting node %q from Snapshot: %w", nodeName, err))
|
|
||||||
}
|
|
||||||
|
|
||||||
var count int64
|
var count int64
|
||||||
if pl.addedPrefSchedTerms != nil {
|
if pl.addedPrefSchedTerms != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user