Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,813 for errorea (0.2 sec)

  1. cmd/iam-object-store.go

    			// server).
    			//
    			// The "policy not found" error is ignored because the STS account may
    			// not have a policy mapped via its parent (for e.g. in
    			// OIDC/AssumeRoleWithCustomToken/AssumeRoleWithCertificate).
    			err := iamOS.loadMappedPolicy(ctx, svcParent, stsUser, false, cache.iamSTSPolicyMap)
    			if err != nil && !errors.Is(err, errNoSuchPolicy) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  2. internal/event/target/postgresql.go

    		if p.Port == "" {
    			return fmt.Errorf("unspecified port")
    		}
    		if _, err := strconv.Atoi(p.Port); err != nil {
    			return fmt.Errorf("invalid port")
    		}
    		if p.Database == "" {
    			return fmt.Errorf("database unspecified")
    		}
    	}
    
    	if p.QueueDir != "" {
    		if !filepath.IsAbs(p.QueueDir) {
    			return errors.New("queueDir path should be absolute")
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  3. docs/debugging/inspect/export.go

    // The remaining payload and versions are returned.
    func checkXL2V1(buf []byte) (payload []byte, major, minor uint16, e error) {
    	if len(buf) <= 8 {
    		return payload, 0, 0, fmt.Errorf("xlMeta: no data")
    	}
    
    	if !bytes.Equal(buf[:4], xlHeader[:]) {
    		return payload, 0, 0, fmt.Errorf("xlMeta: unknown XLv2 header, expected %v, got %v", xlHeader[:4], buf[:4])
    	}
    
    	if bytes.Equal(buf[4:8], []byte("1   ")) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 08 15:58:02 GMT 2022
    - 9.1K bytes
    - Viewed (0)
  4. internal/config/dns/operator_dns.go

    			return ErrBucketConflict(Error{bucket, errors.New(errorString)})
    		}
    		return newError(bucket, fmt.Errorf("service create for bucket %s, failed with status %s, error %s", bucket, resp.Status, errorString))
    	}
    	return nil
    }
    
    func newError(bucket string, err error) error {
    	e := Error{bucket, err}
    	if strings.Contains(err.Error(), "invalid bucket name") {
    		return ErrInvalidBucketName(e)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  5. cmd/sftp-server.go

    	allowMACs := supportedMACs
    	var err error
    	for _, arg := range args {
    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    			logger.Fatal(fmt.Errorf("invalid arguments passed to --sftp=%s", arg), "unable to start SFTP server")
    		}
    		switch tokens[0] {
    		case "address":
    			host, portStr, err := net.SplitHostPort(tokens[1])
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. docs/sts/web-identity.go

    		clnt, err := minio.New(u.Host, opts)
    		if err != nil {
    			log.Println(fmt.Errorf("Error while initializing Minio client, %s", err))
    			http.Error(w, err.Error(), http.StatusBadRequest)
    			return
    		}
    		buckets, err := clnt.ListBuckets(r.Context())
    		if err != nil {
    			log.Println(fmt.Errorf("Error while listing buckets, %s", err))
    			http.Error(w, err.Error(), http.StatusBadRequest)
    			return
    		}
    		creds, _ := sts.Get()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 19 09:13:33 GMT 2023
    - 7.8K bytes
    - Viewed (3)
  7. docs/debugging/inspect/decrypt-v2.go

    					return nil
    				}
    				return errors.New("no data found on stream")
    			}
    			if errors.Is(err, estream.ErrNoKey) {
    				if stream.Name == "inspect.zip" {
    					return errors.New("incorrect private key")
    				}
    				if err := stream.Skip(); err != nil {
    					return fmt.Errorf("stream skip: %w", err)
    				}
    				continue
    			}
    			if extracted {
    				return keepFileErr{fmt.Errorf("next stream: %w", err)}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. internal/config/storageclass/storage-class_test.go

    			t.Errorf("Test %d, Expected %v, got %v", i+1, tt.wantSc, gotSc)
    			return
    		}
    		if tt.expectedError != nil && err.Error() != tt.expectedError.Error() {
    			t.Errorf("Test %d, Expected `%v`, got `%v`", i+1, tt.expectedError, err)
    		}
    	}
    }
    
    func TestValidateParity(t *testing.T) {
    	tests := []struct {
    		rrsParity     int
    		ssParity      int
    		success       bool
    		setDriveCount int
    	}{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  9. istioctl/pkg/util/handlers/handlers.go

    		SingleResourceType()
    	builder.ResourceNames("pods", resname)
    	infos, err := builder.Do().Infos()
    	if err != nil {
    		return nil, "", "", "", fmt.Errorf("failed retrieving: %v in the %q namespace", err, ns)
    	}
    	if len(infos) != 1 {
    		return nil, "", "", "", errors.New("expected a resource")
    	}
    	_, ok := infos[0].Object.(*corev1.Pod)
    	if ok {
    		// If we got a pod, just use its name
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 06 15:01:41 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. istioctl/pkg/dashboard/dashboard.go

    				return fmt.Errorf("name cannot be provided when a selector is specified")
    			}
    
    			if err != nil {
    				return fmt.Errorf("failed to create k8s client: %v", err)
    			}
    
    			var podName, ns string
    			if labelSelector != "" {
    				pl, err := kubeClient.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.Namespace()), labelSelector)
    				if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
Back to top