- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 321 for errs (0.02 sec)
-
internal/rest/client.go
} func (r *respBodyMonitor) Read(p []byte) (n int, err error) { n, err = r.ReadCloser.Read(p) r.errorStatus(err) return } func (r *respBodyMonitor) Close() (err error) { err = r.ReadCloser.Close() r.errorStatus(err) return } func (r *respBodyMonitor) errorStatus(err error) { if xnet.IsNetworkOrHostDown(err, r.expectTimeouts) { r.errorStatusOnce.Do(func() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 26 12:55:01 UTC 2024 - 14.7K bytes - Viewed (0) -
cmd/storage-datatypes_gen.go
z.Volume, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Volume") return } case "fp": z.FilePath, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "FilePath") return } case "fi": err = z.FI.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "FI") return } default: err = dc.Skip()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 150.2K bytes - Viewed (0) -
cmd/bucket-policy-handlers_test.go
start := make(chan struct{}) var ok, errs int var wg sync.WaitGroup var mu sync.Mutex wg.Add(n) for i := 0; i < n; i++ { go func() { defer wg.Done() // Sync start. <-start if err := obj.MakeBucket(GlobalContext, bucketName1, MakeBucketOptions{}); err != nil { if _, ok := err.(BucketExists); !ok { t.Logf("unexpected error: %T: %v", err, err) return } mu.Lock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 32.9K bytes - Viewed (0) -
cmd/site-replication.go
} if globalDNSConfig != nil { if err := globalDNSConfig.Delete(bucket); err != nil { return err } } err := objAPI.DeleteBucket(ctx, bucket, opts) if err != nil { if globalDNSConfig != nil { if err2 := globalDNSConfig.Put(bucket); err2 != nil { replLogIf(ctx, fmt.Errorf("Unable to restore bucket DNS entry %w, please fix it manually", err2)) } } return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 185.1K bytes - Viewed (0) -
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) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
return nil, err } return setupConfigdumpZtunnelConfigWriter(debug, out) } func readFile(filename string) ([]byte, error) { file := os.Stdin if filename != "-" { var err error file, err = os.Open(filename) if err != nil { return nil, err } } defer func() { if err := file.Close(); err != nil { log.Errorf("failed to close %s: %s", filename, err) } }()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 19:17:45 UTC 2024 - 22.2K bytes - Viewed (0) -
cmd/xl-storage_test.go
} xlStorageNew, err := newLocalXLStorage(permDeniedDir) if err != nil { t.Fatalf("Unable to initialize xlStorage, %s", err) } // change backend permissions for MakeVol error. if err = os.Chmod(permDeniedDir, 0o400); err != nil { t.Fatalf("Unable to change permission to temporary directory %v. %v", permDeniedDir, err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 66.7K bytes - Viewed (0) -
cmd/erasure-decode.go
var err error bufs, err = reader.Read(bufs) if len(bufs) > 0 { if errors.Is(err, errFileNotFound) || errors.Is(err, errFileCorrupt) { if derr == nil { derr = err } } } else if err != nil { return err } if err = e.DecodeDataAndParityBlocks(ctx, bufs); err != nil { return err } w := multiWriter{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 9.5K bytes - Viewed (0) -
internal/s3select/select.go
type subS3Select S3Select parsedS3Select := subS3Select{} if err := d.DecodeElement(&parsedS3Select, &start); err != nil { if _, ok := err.(*s3Error); ok { return err } return errMalformedXML(err) } if err := parsedS3Select.ScanRange.Validate(); err != nil { return errInvalidScanRangeParameter(err) } parsedS3Select.ExpressionType = strings.ToLower(parsedS3Select.ExpressionType)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 21.2K bytes - Viewed (0) -
cmd/bucket-replication.go
} wg.Wait() for idx, err := range errs { errCode := minio.ToErrorResponse(err).Code if err != nil && errCode != "NoSuchKey" && errCode != "NoSuchVersion" { return nil, proxyResult{Err: err} } if err == nil { tgs, _ = tags.MapToObjectTags(tagSlc[idx]) } } if len(errs) == 1 { proxy.Err = errs[0] } return tgs, proxy }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 06:49:55 UTC 2024 - 116.1K bytes - Viewed (0)