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