Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Preds (0.05 sec)

  1. cmd/object-handlers_test.go

    		apiRouter.ServeHTTP(rec, req)
    		// Assert the response code with the expected status.
    		if rec.Code != testCase.expectedRespStatus {
    			if testCase.copySourceSame {
    				// encryption will rotate creds, so fail only for non-encryption scenario.
    				if GlobalKMS == nil {
    					t.Errorf("Test %d: %s:  Expected the response status to be `%d`, but instead found `%d`", i, instanceType, testCase.expectedRespStatus, rec.Code)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    	cred := getReqAccessCred(r, globalSite.Region())
    	// In a federated deployment, all the instances share config files
    	// and hence expected to have same credentials.
    	core, err := miniogo.NewCore(host, &miniogo.Options{
    		Creds:     credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, ""),
    		Secure:    globalIsTLS,
    		Transport: getRemoteInstanceTransport(),
    	})
    	if err != nil {
    		return nil, err
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
Back to top