Commit 91f6b7bc authored by m1093782566's avatar m1093782566

remove ineffective copy

parent 7f528c67
...@@ -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