diff --git a/checkpoint/checkpoint.go b/checkpoint/checkpoint.go index b70f31229..5fbdea5d4 100644 --- a/checkpoint/checkpoint.go +++ b/checkpoint/checkpoint.go @@ -94,7 +94,6 @@ func (cp *checkpoint) GetPodResourceMap(pod *v1.Pod) (map[string]*types.Resource if podID == "" { return nil, logging.Errorf("GetPodResourceMap(): invalid Pod cannot be empty") } - for _, pod := range cp.podEntires { if pod.PodUID == podID { entry, ok := resourceMap[pod.ResourceName]