mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Merge pull request #30136 from m1093782566/master
Automatic merge from submit-queue remove useless value copy Copy something to values in parameters won't change them in go. So, remove it to avoid making people confused.
This commit is contained in:
commit
e19ea41a5e
@ -42,7 +42,6 @@ func (p PodsToCache) UpdateNode(oldNode, newNode *api.Node) error { return nil }
|
|||||||
func (p PodsToCache) RemoveNode(node *api.Node) error { return nil }
|
func (p PodsToCache) RemoveNode(node *api.Node) error { return nil }
|
||||||
|
|
||||||
func (p PodsToCache) UpdateNodeNameToInfoMap(infoMap map[string]*schedulercache.NodeInfo) error {
|
func (p PodsToCache) UpdateNodeNameToInfoMap(infoMap map[string]*schedulercache.NodeInfo) error {
|
||||||
infoMap = schedulercache.CreateNodeNameToInfoMap(p, nil)
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user