Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isUpdate (0.08 sec)

  1. pkg/controller/job/job_controller.go

    			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
    					jm.recorder.Event(&job, v1.EventTypeNormal, "Suspended", "Job suspended")
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeState.java

            if (details != null && details.isUpdated()) {
                // This caching works because our substitutionResult are cached themselves
                return dependencyState.withSubstitution(substitutionResult, result -> {
                    ArtifactSelectionDetailsInternal artifactSelectionDetails = details.getArtifactSelectionDetails();
                    if (artifactSelectionDetails.isUpdated()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 58.9K bytes
    - Viewed (0)
  3. pkg/controller/job/job_controller_test.go

    		},
    	}
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			gotList, isUpdated := ensureJobConditionStatus(tc.haveList, tc.wantType, tc.wantStatus, tc.wantReason, "", realClock.Now())
    			if isUpdated != tc.expectUpdate {
    				t.Errorf("Got isUpdated=%v, want %v", isUpdated, tc.expectUpdate)
    			}
    			if len(gotList) != len(tc.expectList) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
Back to top