Merge pull request #81361 from oxddr/kubeproxy-moar-logging

kube-proxy: do not export network programming latency for deleted Endpoints
This commit is contained in:
Kubernetes Prow Robot
2019-08-14 16:52:49 -07:00
committed by GitHub
2 changed files with 8 additions and 3 deletions

View File

@@ -143,7 +143,7 @@ func getPodTriggerTime(pod *v1.Pod) (triggerTime time.Time) {
if readyCondition := podutil.GetPodReadyCondition(pod.Status); readyCondition != nil {
triggerTime = readyCondition.LastTransitionTime.Time
}
// TODO(mm4tt): Implement missing cases: deletionTime set, pod label change
// TODO(#81360): Implement missing cases: deletionTime set, pod label change
return triggerTime
}