Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 326 for perror (0.17 sec)

  1. 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)
  2. staging/src/k8s.io/api/authentication/v1/generated.pb.go

    	i := len(dAtA)
    	_ = i
    	var l int
    	_ = l
    	if len(m.Audiences) > 0 {
    		for iNdEx := len(m.Audiences) - 1; iNdEx >= 0; iNdEx-- {
    			i -= len(m.Audiences[iNdEx])
    			copy(dAtA[i:], m.Audiences[iNdEx])
    			i = encodeVarintGenerated(dAtA, i, uint64(len(m.Audiences[iNdEx])))
    			i--
    			dAtA[i] = 0x22
    		}
    	}
    	i -= len(m.Error)
    	copy(dAtA[i:], m.Error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 72K bytes
    - Viewed (0)
  3. 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)
  4. pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go

    	// Assert
    	if add1Err != nil {
    		t.Fatalf("AddVolumeNode failed. Expected: <no error> Actual: <%v>", add1Err)
    	}
    	if add2Err != nil {
    		t.Fatalf("AddVolumeNode failed. Expected: <no error> Actual: <%v>", add2Err)
    	}
    
    	if generatedVolumeName1 != generatedVolumeName2 {
    		t.Fatalf(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 07:35:17 UTC 2024
    - 66.1K 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. tests/test_generate_unique_id_function.py

                                        }
                                    }
                                },
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jan 13 15:10:26 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  8. pkg/scheduler/internal/cache/cache_test.go

    			// podToUpdate has not been added yet
    			if _, err := cache.GetPod(tc.podToUpdate); err == nil {
    				t.Error("expected error, no error found")
    			}
    
    			// trying to update an unknown pod should return an error
    			// pod has not been added yet
    			if err := cache.UpdatePod(logger, tc.pod, tc.podToUpdate); err == nil {
    				t.Error("expected error, no error found")
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 63.8K bytes
    - Viewed (0)
  9. pkg/volume/csi/csi_attacher_test.go

    			if tc.shouldFail && err == nil {
    				t.Error("expecting failure, but err is nil")
    			}
    			if tc.initAttachErr != nil && err != nil {
    				if tc.initAttachErr.Message != err.Error() {
    					t.Errorf("expecting error [%v], got [%v]", tc.initAttachErr.Message, err.Error())
    				}
    			}
    			if err == nil && retID != attachID {
    				t.Errorf("attacher.WaitForAttach not returning attachment ID")
    			}
    			wg.Wait()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  10. cmd/xl-storage_test.go

    			t.Errorf("Test %d: %d bytes were expected, but %d were written", i, test.length, n)
    		case err == nil && !bytes.Equal(data[test.offset:test.offset+test.length], buffer):
    			t.Errorf("Test %d: Expected bytes: %v, but got: %v", i, data[test.offset:test.offset+test.length], buffer)
    		case err != nil && err != test.expError:
    			t.Errorf("Test %d: Expected error: %v, but got: %v", i, test.expError, err)
    		}
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top