Commit e19ea41a authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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.
parents 18ede140 91f6b7bc
...@@ -42,7 +42,6 @@ func (p PodsToCache) UpdateNode(oldNode, newNode *api.Node) error { return nil } ...@@ -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
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment