Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 103 for perror (0.11 sec)

  1. cmd/erasure-server-pool.go

    	derrs := make([]error, len(poolIndices))
    	dobjects := make([]ObjectInfo, len(poolIndices))
    
    	// Delete concurrently in all server pools that reported no error or read quorum error
    	// where the read quorum issue is from metadata inconsistency.
    	var wg sync.WaitGroup
    	for idx, pe := range poolIndices {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/expr.go

    			goto Error
    		}
    		if isTypeParam(x.typ) {
    			check.errorf(x, InvalidAssert, invalidOp+"cannot use type assertion on type parameter value %s", x)
    			goto Error
    		}
    		if _, ok := under(x.typ).(*Interface); !ok {
    			check.errorf(x, InvalidAssert, invalidOp+"%s is not an interface", x)
    			goto Error
    		}
    		T := check.varType(e.Type)
    		if !isValid(T) {
    			goto Error
    		}
    		check.typeAssertion(e, x, T, false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    	atomic.AddInt32(&s.scanning, 1)
    	defer atomic.AddInt32(&s.scanning, -1)
    
    	var err error
    	stopFn := globalScannerMetrics.log(scannerMetricScanBucketDrive, s.drivePath, cache.Info.Name)
    	defer func() {
    		res := make(map[string]string)
    		if err != nil {
    			res["err"] = err.Error()
    		}
    		stopFn(res)
    	}()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  4. cmd/iam.go

    		if err != nil {
    			iamLogIf(GlobalContext, fmt.Errorf("error parsing role ARN %s: %v", roleArn, err))
    			return false
    		}
    		policies = newMappedPolicy(sys.rolesMap[arn]).toSlice()
    
    	default:
    		// Otherwise, inherit parent user's policy
    		var err error
    		policies, err = sys.PolicyDBGet(parentUser, args.Groups...)
    		if err != nil {
    			iamLogIf(GlobalContext, fmt.Errorf("error fetching policies on %s: %v", parentUser, err))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    	saveIAMConfig(ctx context.Context, item interface{}, path string, opts ...options) error
    	loadIAMConfig(ctx context.Context, item interface{}, path string) error
    	deleteIAMConfig(ctx context.Context, path string) error
    	savePolicyDoc(ctx context.Context, policyName string, p PolicyDoc) error
    	saveMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool, mp MappedPolicy, opts ...options) error
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    	return &testEnvelopeService{nil}, nil
    }
    
    // The factory method to create mock envelope service which always returns error.
    func newMockErrorEnvelopeService(endpoint string, timeout time.Duration) (envelope.Service, error) {
    	return &testEnvelopeService{errors.New("test")}, nil
    }
    
    // The factory method to create mock envelope kmsv2 service.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    //
    //	  errs: errors from reading xl.meta in all disks
    //	   err: reduced errs
    //	bucket: the object name in question
    func shouldCheckForDangling(err error, errs []error, bucket string) bool {
    	// Avoid data in .minio.sys for now
    	if bucket == minioMetaBucket {
    		return false
    	}
    	switch {
    	// Check if we have a read quorum issue
    	case errors.Is(err, errErasureReadQuorum):
    		return true
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    	if err := store.GuaranteedUpdate(ctx, preset[1].key, &example.Pod{}, false, nil, updateFunc, nil); !storage.IsInternalError(err) {
    		t.Errorf("Unexpected error: %v", err)
    	}
    	// GuaranteedUpdate with suggestion should return an error if we don't change the object
    	if err := store.GuaranteedUpdate(ctx, preset[1].key, &example.Pod{}, false, nil, updateFunc, preset[1].obj); err == nil {
    		t.Errorf("Unexpected error: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    			t.Fatalf("MinIO %s: Failed parsing response body: <ERROR> %v", instanceType, err)
    		}
    
    		actualError := &APIErrorResponse{}
    		if err = xml.Unmarshal(actualContent, actualError); err != nil {
    			t.Errorf("MinIO %s: error response failed to parse error XML", instanceType)
    		}
    
    		if actualError.BucketName != bucketName {
    			t.Errorf("MinIO %s: error response bucket name differs from expected value", instanceType)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_set_utils_test.go

    	pod := newStatefulSetPod(set, 1)
    	if !identityMatches(set, pod) {
    		t.Error("Newly created Pod has a bad identity")
    	}
    	pod.Name = "foo"
    	if identityMatches(set, pod) {
    		t.Error("identity matches for a Pod with the wrong name")
    	}
    	pod = newStatefulSetPod(set, 1)
    	pod.Namespace = ""
    	if identityMatches(set, pod) {
    		t.Error("identity matches for a Pod with the wrong namespace")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
Back to top