mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-21 01:50:55 +00:00
kube-proxy: do not export network programming latency for deleted enpoints.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user