mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 04:03:20 +00:00
remove ineffective copy
This commit is contained in:
@@ -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) UpdateNodeNameToInfoMap(infoMap map[string]*schedulercache.NodeInfo) error {
|
||||
infoMap = schedulercache.CreateNodeNameToInfoMap(p, nil)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user