Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for err (0.13 sec)

  1. cmd/data-usage-cache_gen.go

    						if err != nil {
    							err = msgp.WrapError(err, "Tiers", za0001, "TotalSize")
    							return
    						}
    					case "nv":
    						za0002.NumVersions, err = dc.ReadInt()
    						if err != nil {
    							err = msgp.WrapError(err, "Tiers", za0001, "NumVersions")
    							return
    						}
    					case "no":
    						za0002.NumObjects, err = dc.ReadInt()
    						if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  2. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Checking abandoned parts should do nothing
    	err = er.checkAbandonedParts(ctx, bucket, object, madmin.HealOpts{ScanMode: madmin.HealNormalScan, Remove: true})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	_, err = er.HealObject(ctx, bucket, object, "", madmin.HealOpts{ScanMode: madmin.HealNormalScan})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  3. cmd/storage-datatypes_gen_test.go

    	v := BaseOptions{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  4. cmd/sts-handlers_test.go

    	err = minioClient.RemoveObject(ctx, bucket, "someobject", minio.RemoveObjectOptions{})
    	if err.Error() != "Access Denied." {
    		c.Fatalf("unexpected non-access-denied err: %v", err)
    	}
    
    	if _, err = s.adm.DetachPolicyLDAP(ctx, userReq); err != nil {
    		c.Fatalf("Unable to detach user policy: %v", err)
    	}
    
    	_, err = ldapID.Retrieve()
    	if err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users.go

    	password := cred.SecretKey
    
    	allCredentials, err := globalIAMSys.ListBucketUsers(ctx, bucket)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	data, err := json.Marshal(allCredentials)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	econfigData, err := madmin.EncryptData(password, data)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  6. src/bufio/bufio_test.go

    		t.Fatalf("want %q, ErrBufFull got %q, err=%v", "abcdefghijklmnop", string(s), err)
    	}
    	if _, err := buf.Read(p[0:3]); string(p[0:3]) != "abc" || err != nil {
    		t.Fatalf("want %q got %q, err=%v", "abc", string(p[0:3]), err)
    	}
    	if s, err := buf.Peek(1); string(s) != "d" || err != nil {
    		t.Fatalf("want %q got %q, err=%v", "d", string(s), err)
    	}
    	if s, err := buf.Peek(2); string(s) != "de" || err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  7. cmd/bucket-stats_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "ReplicatedSize")
    				return
    			}
    		case "ReplicaSize":
    			z.ReplicaSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "ReplicaSize")
    				return
    			}
    		case "FailStats":
    			err = z.FailStats.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "FailStats")
    				return
    			}
    		case "Failed":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    	if !r.Target.Creds.Empty() {
    		if err := r.Target.Creds.Validate(); err != nil {
    			return err
    		}
    	}
    
    	if err := r.Target.Type.Validate(); err != nil {
    		return err
    	}
    
    	for _, tag := range r.Flags.Filter.Tags {
    		if err := tag.Validate(); err != nil {
    			return err
    		}
    	}
    
    	for _, meta := range r.Flags.Filter.Metadata {
    		if err := meta.Validate(); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  9. istioctl/pkg/proxyconfig/proxyconfig.go

    					if err != nil {
    						return err
    					}
    
    					configWriter, err = setupPodConfigdumpWriter(kubeClient, podName, podNamespace, true, c.OutOrStdout())
    					if err != nil {
    						return err
    					}
    				} else {
    					var err error
    					configWriter, err = setupFileConfigdumpWriter(configDumpFile, c.OutOrStdout())
    					if err != nil {
    						return err
    					}
    				}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe.go

    			}
    
    			podName, ns := handlers.InferPodInfo(args[0], ctx.NamespaceOrDefault(""))
    
    			client, err := ctx.CLIClient()
    			if err != nil {
    				return err
    			}
    			pod, err := client.Kube().CoreV1().Pods(ns).Get(context.TODO(), podName, metav1.GetOptions{})
    			if err != nil {
    				return err
    			}
    
    			writer := cmd.OutOrStdout()
    
    			podLabels := klabels.Set(pod.ObjectMeta.Labels)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top