kubelet: delete unused pod manager method

This commit is contained in:
Euan Kemp 2016-07-08 02:05:45 -07:00 committed by Euan Kemp
parent 26e0f50504
commit eeee8b54ea

View File

@ -199,11 +199,6 @@ func (pm *basicManager) GetPodsAndMirrorPods() ([]*api.Pod, []*api.Pod) {
return pods, mirrorPods
}
// Returns all pods (including mirror pods).
func (pm *basicManager) getAllPods() []*api.Pod {
return append(podsMapToPods(pm.podByUID), podsMapToPods(pm.mirrorPodByUID)...)
}
func (pm *basicManager) GetPodByUID(uid types.UID) (*api.Pod, bool) {
pm.lock.RLock()
defer pm.lock.RUnlock()