Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for unhandled (0.18 sec)

  1. internal/lock/lock_windows.go

    			r++
    		case path[r] == '.' && (r+1 == n || os.IsPathSeparator(path[r+1])):
    			// /./
    			r++
    		case r+1 < n && path[r] == '.' && path[r+1] == '.' && (r+2 == n || os.IsPathSeparator(path[r+2])):
    			// /../ is currently unhandled
    			return path
    		default:
    			pathbuf[w] = '\\'
    			w++
    			for ; r < n && !os.IsPathSeparator(path[r]); r++ {
    				pathbuf[w] = path[r]
    				w++
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  2. cmd/bucket-policy.go

    func (sys *PolicySys) IsAllowed(args policy.BucketPolicyArgs) bool {
    	p, err := sys.Get(args.BucketName)
    	if err == nil {
    		return p.IsAllowed(args)
    	}
    
    	// Log unhandled errors.
    	if _, ok := err.(BucketPolicyNotFound); !ok {
    		internalLogIf(GlobalContext, err, logger.WarningKind)
    	}
    
    	// As policy is not available for given bucket name, returns IsOwner i.e.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    		if err == nil {
    			return pi, nil
    		}
    		if _, ok := err.(InvalidUploadID); ok {
    			// Look for information on the next pool
    			continue
    		}
    		// Any other unhandled errors such as quorum return.
    		return PartInfo{}, err
    	}
    
    	return PartInfo{}, InvalidUploadID{
    		Bucket:   bucket,
    		Object:   object,
    		UploadID: uploadID,
    	}
    }
    
    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/api-errors.go

    			}
    		}
    	}
    
    	if apiErr.Code == "InternalError" {
    		// Make sure to log the errors which we cannot translate
    		// to a meaningful S3 API errors. This is added to aid in
    		// debugging unexpected/unhandled errors.
    		internalLogIf(ctx, err)
    	}
    
    	return apiErr
    }
    
    // getAPIError provides API Error for input API error code.
    func getAPIError(code APIErrorCode) APIError {
    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)
  5. cmd/prepare-storage.go

    	formatConfigs, sErrs := loadFormatErasureAll(storageDisks, false)
    
    	// Check if we have
    	for i, sErr := range sErrs {
    		// print the error, nonetheless, which is perhaps unhandled
    		if !errors.Is(sErr, errUnformattedDisk) && !errors.Is(sErr, errDiskNotFound) && verboseLogging {
    			if sErr != nil {
    				logger.Error("Unable to read 'format.json' from %s: %v\n", endpoints[i], sErr)
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  6. internal/s3select/sql/evaluate.go

    		}
    		return FromBytes(bs), nil
    	case []Value:
    		return FromArray(rval), nil
    	case nil:
    		return FromNull(), nil
    	case Missing:
    		return FromMissing(), nil
    	}
    	return nil, fmt.Errorf("Unhandled value type: %T", result)
    }
    
    func (e *PrimaryTerm) evalNode(r Record, tableAlias string) (res *Value, err error) {
    	switch {
    	case e.Value != nil:
    		return e.Value.evalNode(r)
    	case e.JPathExpr != nil:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  7. cmd/os-reliable.go

    		switch {
    		case isSysErrNotDir(err):
    			// File path cannot be verified since one of
    			// the parents is a file.
    			return errFileAccessDenied
    		case isSysErrPathNotFound(err):
    			// This is a special case should be handled only for
    			// windows, because windows API does not return "not a
    			// directory" error message. Handle this specifically
    			// here.
    			return errFileAccessDenied
    		}
    	}
    	return err
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    	s.formatData = b
    	s.formatLastCheck = time.Now()
    	s.Unlock()
    	return diskID, nil
    }
    
    // Make a volume entry.
    func (s *xlStorage) SetDiskID(id string) {
    	// NO-OP for xlStorage as it is handled either by xlStorageDiskIDCheck{} for local disks or
    	// storage rest server for remote disks.
    }
    
    func (s *xlStorage) MakeVolBulk(ctx context.Context, volumes ...string) error {
    	for _, volume := range volumes {
    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)
  9. cmd/iam-store.go

    	accessKey := cred.AccessKey
    	parentUser := cred.ParentUser
    
    	// Found newly requested service account, to be an existing account -
    	// reject such operation (updates to the service account are handled in
    	// a different API).
    	if su, found := cache.iamUsersMap[accessKey]; found {
    		scred := su.Credentials
    		if scred.ParentUser != parentUser {
    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)
  10. cmd/server-main.go

    			logger.Info("Waiting for all MinIO sub-systems to be initialized.. possible cause (%v)", err)
    			time.Sleep(time.Duration(r.Float64() * float64(5*time.Second)))
    			continue
    		}
    
    		// Any other unhandled return right here.
    		return fmt.Errorf("Unable to initialize sub-systems: %w", err)
    	}
    }
    
    func initConfigSubsystem(ctx context.Context, newObject ObjectLayer) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
Back to top