Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasPrefixError (0.26 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation_test.go

    		conditions: []metav1.Condition{{
    			Type:   "First",
    			Reason: "valid:val",
    		}},
    		validateErrs: func(t *testing.T, errs field.ErrorList) {
    			needle := `status.conditions[0].reason`
    			if hasPrefixError(errs, needle) {
    				t.Errorf("has %q in\n%v", needle, errorsAsString(errs))
    			}
    		},
    	}, {
    		name: "comma-allowed-in-reason",
    		conditions: []metav1.Condition{{
    			Type:   "First",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 15.2K bytes
    - Viewed (0)
Back to top