kube-proxy: do not export network programming latency for deleted enpoints.

This commit is contained in:
Janek Łukaszewicz
2019-08-14 14:00:07 +02:00
parent 4ce69dd32e
commit e52110edcd
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
}