Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ensureJobConditionStatus (0.39 sec)

  1. pkg/controller/job/job_controller.go

    			// updates.
    			if job.Spec.Suspend != nil && *job.Spec.Suspend {
    				// Job can be in the suspended state only if it is NOT completed.
    				var isUpdated bool
    				job.Status.Conditions, isUpdated = ensureJobConditionStatus(job.Status.Conditions, batch.JobSuspended, v1.ConditionTrue, "JobSuspended", "Job suspended", jm.clock.Now())
    				if isUpdated {
    					suspendCondChanged = true
    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