Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for numFail (0.41 sec)

  1. pkg/istio-agent/health/health_check.go

    			// we were not healthy, increment fail counter
    			numFail++
    			// wipe numSuccess (need consecutive failure)
    			numSuccess = 0
    			// if we reached the fail threshold, mark the target as unhealthy
    			if numFail == w.config.FailThresh && lastState != lastStateUnhealthy {
    				healthCheckLog.Infof("failure threshold hit, marking as unhealthy: %v", err)
    				numFail = 0
    				callback(&ProbeEvent{
    					Healthy:          false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 21 03:06:44 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/apply_test.go

    	rest := apiExtensionClient.Discovery().RESTClient()
    	yamlBody := []byte(fmt.Sprintf(`
    apiVersion: %s
    kind: %s
    metadata:
      name: mytest
    values:
      numVal: 1
      boolVal: true
      stringVal: "1"`, apiVersion, kind))
    	result, err := rest.Patch(types.ApplyPatchType).
    		AbsPath("/apis", noxuDefinition.Spec.Group, noxuDefinition.Spec.Versions[0].Name, noxuDefinition.Spec.Names.Plural).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 27 11:48:28 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. src/encoding/hex/hex.go

    				d.err = InvalidByteError(d.in[len(d.in)-1])
    			} else {
    				d.err = io.ErrUnexpectedEOF
    			}
    		}
    	}
    
    	// Decode internal buffer into output buffer
    	if numAvail := len(d.in) / 2; len(p) > numAvail {
    		p = p[:numAvail]
    	}
    	numDec, err := Decode(p, d.in[:len(p)*2])
    	d.in = d.in[2*numDec:]
    	if err != nil {
    		d.in, d.err = nil, err // Decode error; discard input remainder
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:30:23 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top