Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 72 for Errs (0.02 sec)

  1. internal/rest/client.go

    	r.errorStatus(err)
    	return
    }
    
    func (r *respBodyMonitor) errorStatus(err error) {
    	if xnet.IsNetworkOrHostDown(err, r.expectTimeouts) {
    		r.errorStatusOnce.Do(func() {
    			atomic.AddUint64(&globalStats.errs, 1)
    		})
    	}
    }
    
    // dumpHTTP - dump HTTP request and response.
    func (c *Client) dumpHTTP(req *http.Request, resp *http.Response) {
    	// Starts http dump.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. cmd/storage-datatypes_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "Errs")
    				return
    			}
    			if cap(z.Errs) >= int(zb0002) {
    				z.Errs = (z.Errs)[:zb0002]
    			} else {
    				z.Errs = make([]string, zb0002)
    			}
    			for za0001 := range z.Errs {
    				z.Errs[za0001], err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "Errs", za0001)
    					return
    				}
    			}
    		default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  3. cmd/bucket-policy-handlers_test.go

    					return
    				}
    				mu.Lock()
    				errs++
    				mu.Unlock()
    				return
    			}
    			mu.Lock()
    			ok++
    			mu.Unlock()
    		}()
    	}
    	close(start)
    	wg.Wait()
    	if ok != 1 {
    		t.Fatalf("want 1 ok, got %d", ok)
    	}
    	if errs != n-1 {
    		t.Fatalf("want %d errors, got %d", n-1, errs)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  4. istioctl/pkg/proxyconfig/proxyconfig.go

    					}
    				}
    				if err != nil {
    					errs = multierror.Append(errs, fmt.Errorf("error configuring log level for %v.%v: %v", podName, podNamespace, err))
    				} else {
    					_, _ = fmt.Fprintf(c.OutOrStdout(), "%v.%v:\n%v", podName, podNamespace, resp)
    				}
    			}
    			if err := multierror.Flatten(errs.ErrorOrNil()); err != nil {
    				return err
    			}
    			return nil
    		},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  5. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    				if err == nil {
    					_, _ = fmt.Fprintf(c.OutOrStdout(), "%v.%v:\n%v\n", podName, podNamespace, resp)
    				} else {
    					errs = multierror.Append(fmt.Errorf("%v.%v: %v", podName, podNamespace, err))
    				}
    			}
    			if err := multierror.Flatten(errs.ErrorOrNil()); err != nil {
    				return err
    			}
    			return nil
    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 19:17:45 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    		depIDs = append(depIDs, d)
    	}
    	errs := make([]error, len(c.state.Peers))
    	var wg sync.WaitGroup
    	wg.Add(len(depIDs))
    	for i := range depIDs {
    		go func(i int) {
    			defer wg.Done()
    			if depIDs[i] == globalDeploymentID() {
    				if selfActionFn != nil {
    					errs[i] = selfActionFn()
    				}
    			} else {
    				errs[i] = peerActionFn(depIDs[i], c.state.Peers[depIDs[i]])
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  7. cmd/xl-storage_test.go

    		fis[0].Versions = append(fis[0].Versions, FileInfo{Name: object, Volume: volume, VersionID: versions[i]})
    		deleted[i] = true
    	}
    	errs := xl.DeleteVersions(ctx, volume, fis, DeleteOptions{})
    	if errs[0] != nil {
    		t.Fatalf("expected nil error, got %v", errs[0])
    	}
    	checkVerExist(t)
    
    	// Delete them all... (some again)
    	fis[0].Versions = nil
    	for i := range versions[:] {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  8. cmd/erasure-decode.go

    			return err
    		}
    
    		if err = e.DecodeDataAndParityBlocks(ctx, bufs); err != nil {
    			return err
    		}
    
    		w := multiWriter{
    			writers:     writers,
    			writeQuorum: 1,
    			errs:        make([]error, len(writers)),
    		}
    
    		if err = w.Write(ctx, bufs); err != nil {
    			return err
    		}
    	}
    
    	return derr
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. internal/s3select/select.go

    			var stErr bzip2.StructuralError
    			if errors.As(err, &stErr) {
    				return errInvalidCompression(err, s3Select.Input.CompressionType)
    			}
    			// Test these compressor errors
    			errs := []error{
    				gzip.ErrHeader, gzip.ErrChecksum,
    				s2.ErrCorrupt, s2.ErrUnsupported, s2.ErrCRC,
    				zstd.ErrBlockTooSmall, zstd.ErrMagicMismatch, zstd.ErrWindowSizeExceeded, zstd.ErrUnknownDictionary, zstd.ErrWindowSizeTooSmall,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. cmd/bucket-replication.go

    					},
    				}
    				err = tgt.RemoveObjectTagging(ctx, tgt.Bucket, object, dopts)
    			}
    			if err != nil {
    				errs[idx] = err
    			}
    		}(idx, tgt)
    	}
    	wg.Wait()
    
    	var (
    		terr        error
    		taggedCount int
    	)
    	for _, err := range errs {
    		if err == nil {
    			taggedCount++
    			continue
    		}
    		if err != nil {
    			terr = err
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top