Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for erros (0.15 sec)

  1. cmd/api-errors.go

    }
    
    // toAPIErrorCode - Converts embedded errors. Convenience
    // function written to handle all cases where we have known types of
    // errors returned by underlying layers.
    func toAPIErrorCode(ctx context.Context, err error) (apiErr APIErrorCode) {
    	if err == nil {
    		return ErrNone
    	}
    
    	// Errors that are generated by net.Conn and any context errors must be handled here.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  2. cmd/erasure-object.go

    	auditLogInternal(ctx, opts)
    }
    
    func joinErrs(errs []error) []string {
    	s := make([]string, len(errs))
    	for i := range s {
    		if errs[i] == nil {
    			s[i] = "<nil>"
    		} else {
    			s[i] = errs[i].Error()
    		}
    	}
    	return s
    }
    
    func (er erasureObjects) deleteIfDangling(ctx context.Context, bucket, object string, metaArr []FileInfo, errs []error, dataErrs []error, opts ObjectOptions) (FileInfo, error) {
    	var err error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  3. cmd/erasure-server-pool.go

    		}(idx, pool)
    	}
    	wg.Wait()
    
    	// Return the first nil error
    	for idx, err := range errs {
    		if err == nil {
    			return results[idx], nil
    		}
    	}
    
    	// No pool returned a nil error, return the first non 'not found' error
    	for idx, err := range errs {
    		if !isErrObjectNotFound(err) && !isErrVersionNotFound(err) {
    			return results[idx], err
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  4. cmd/iam.go

    			updatedCreateReq.Groups = normalizedGroups
    
    			updatedKeysMap[ak] = updatedCreateReq
    		}
    	}
    
    	// if there are any errors, return a collected error.
    	if len(collectedErrors) > 0 {
    		return fmt.Errorf("errors validating LDAP DN: %w", errors.Join(collectedErrors...))
    	}
    
    	for k, v := range updatedKeysMap {
    		// Replace the map values with the updated ones
    		accessKeyMap[k] = v
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  5. cmd/sts-handlers_test.go

    		// even if LDAP is enabled.
    		userPolicyMappingsFile: `{
      "foo": {
        "version": 0,
        "policy": "readwrite",
        "updatedAt": "2024-04-23T21:34:43.815519816Z"
      }
    }
    `,
    		// Contains:
    		//
    		// 1. duplicate mapping with same policy, we should not error out;
    		//
    		// 2. non-LDAP group mapping, we should not error out;
    		groupPolicyMappingsFile: `{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  6. docs/metrics/prometheus/grafana/minio-dashboard.json

              "exemplar": true,
              "expr": "sum by (server,api) (increase(minio_s3_requests_4xx_errors_total{job=~\"$scrape_jobs\"}[$__rate_interval]))",
              "interval": "1m",
              "intervalFactor": 2,
              "legendFormat": "{{server,api}}",
              "refId": "A"
            }
          ],
          "title": "S3 API Request Error Rate (4xx)",
          "type": "timeseries"
        },
        {
          "datasource": {
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 10:03:01 GMT 2024
    - 93K bytes
    - Viewed (2)
  7. cmd/xl-storage-format-v2_gen.go

    func (z *ChecksumAlgo) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 uint8
    		zb0001, err = dc.ReadUint8()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = ChecksumAlgo(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z ChecksumAlgo) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteUint8(uint8(z))
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  8. docs/metrics/prometheus/grafana/replication/minio-replication-node.json

                ]
              },
              "unit": "short"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "Replication Errors"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "light-red",
                      "mode": "fixed"
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:15:39 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    	errs := make([]error, len(versions))
    
    	for i, fiv := range versions {
    		if contextCanceled(ctx) {
    			errs[i] = ctx.Err()
    			continue
    		}
    		w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    		if err := w.Run(func() error { return s.deleteVersions(ctx, volume, fiv.Name, fiv.Versions...) }); err != nil {
    			errs[i] = err
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  10. 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
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
Back to top