Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for fails (0.13 sec)

  1. cmd/object-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    	if crypto.S3.IsRequested(r.Header) || crypto.S3KMS.IsRequested(r.Header) { // If SSE-S3 or SSE-KMS present -> AWS fails with undefined error
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrBadRequest), r.URL)
    		return
    	}
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    	object, err := unescapePath(vars["object"])
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	secretKey  string
    	signer     signerType
    	secure     bool
    	client     *http.Client
    }
    
    type check struct {
    	*testing.T
    	testType string
    }
    
    // Assert - checks if gotValue is same as expectedValue, if not fails the test.
    func (c *check) Assert(gotValue interface{}, expectedValue interface{}) {
    	c.Helper()
    	if !reflect.DeepEqual(gotValue, expectedValue) {
    		c.Fatalf("Test %s expected %v, got %v", c.testType, expectedValue, gotValue)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    				Value: pluginAuthNMetrics.LastReachableSecs,
    			},
    			{
    				Description: MetricDescription{
    					Namespace: nodeMetricNamespace,
    					Subsystem: iamSubsystem,
    					Name:      "plugin_authn_service_last_fail_seconds",
    					Help:      "When plugin authentication is configured, returns time (in seconds) since the last failed request to the service",
    					Type:      gaugeMetric,
    				},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    	}
    	if !currDeploymentIDsSet.IsEmpty() {
    		// If current cluster is already SR enabled and no new site being added ,fail.
    		if currDeploymentIDsSet.Equals(deploymentIDsSet) {
    			return madmin.ReplicateAddStatus{}, errSRCannotJoin
    		}
    		if len(currDeploymentIDsSet.Intersection(deploymentIDsSet)) != len(currDeploymentIDsSet) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  5. cmd/object-handlers_test.go

    		// if object upload fails stop the test.
    		if err != nil {
    			t.Fatalf("Put Object case %d:  Error uploading object: <ERROR> %v", i+1, err)
    		}
    	}
    
    	// test cases with inputs and expected result for HeadObject.
    	testCases := []struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    	if success {
    		return
    	}
    	hip.clientToken = token
    	// if request was not successful, try this server locally if token
    	// is not found the call will fail anyways. if token is empty
    	// try this server to generate a new token.
    
    	type healResp struct {
    		respBytes []byte
    		apiErr    APIError
    		errBody   string
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top