Added up to 96% coverage for checkpoint.go

This commit is contained in:
Nikhil 2019-06-10 16:57:39 -04:00 committed by Tomofumi Hayashi
parent 22b992ebe3
commit 89d3b3e0b5

View File

@ -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]