Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Cur (0.02 sec)

  1. pkg/controller/job/job_controller.go

    // When a pod is updated, figure out what job/s manage it and wake them up.
    // If the labels of the pod have changed we need to awaken both the old
    // and new job. old and cur must be *v1.Pod types.
    func (jm *Controller) updatePod(logger klog.Logger, old, cur interface{}) {
    	curPod := cur.(*v1.Pod)
    	oldPod := old.(*v1.Pod)
    	recordFinishedPodWithTrackingFinalizer(oldPod, curPod)
    	if curPod.ResourceVersion == oldPod.ResourceVersion {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
Back to top