Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for updateLastTransitionTime (0.16 sec)

  1. pkg/kubelet/status/status_manager_test.go

    		if test.condition != nil {
    			status.Conditions = []v1.PodCondition{*test.condition}
    		}
    		if test.oldCondition != nil {
    			oldStatus.Conditions = []v1.PodCondition{*test.oldCondition}
    		}
    		updateLastTransitionTime(status, oldStatus, "test-type")
    		if test.expectUpdate {
    			assert.True(t, status.Conditions[0].LastTransitionTime.After(old.Time))
    		} else if test.condition != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
Back to top