Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for haveList (0.1 sec)

  1. pkg/controller/job/job_controller_test.go

    	testCases := []struct {
    		name         string
    		haveList     []batch.JobCondition
    		wantType     batch.JobConditionType
    		wantStatus   v1.ConditionStatus
    		wantReason   string
    		expectList   []batch.JobCondition
    		expectUpdate bool
    	}{
    		{
    			name:         "append true condition",
    			haveList:     []batch.JobCondition{},
    			wantType:     batch.JobSuspended,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  2. src/net/http/server.go

    	}
    
    	c.lastMethod = req.Method
    	c.r.setInfiniteReadLimit()
    
    	hosts, haveHost := req.Header["Host"]
    	isH2Upgrade := req.isH2Upgrade()
    	if req.ProtoAtLeast(1, 1) && (!haveHost || len(hosts) == 0) && !isH2Upgrade && req.Method != "CONNECT" {
    		return nil, badRequestError("missing required Host header")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top