Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ErrInvalidBucketName (0.14 sec)

  1. cmd/api-errors.go

    	case OperationTimedOut:
    		apiErr = ErrRequestTimedout
    	case BackendDown:
    		apiErr = ErrBackendDown
    	case ObjectNameTooLong:
    		apiErr = ErrKeyTooLongError
    	case dns.ErrInvalidBucketName:
    		apiErr = ErrInvalidBucketName
    	case dns.ErrBucketConflict:
    		apiErr = ErrBucketAlreadyExists
    	default:
    		if strings.Contains(err.Error(), "request declared a Content-Length") {
    			apiErr = ErrIncompleteBody
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    		if hip.objPrefix != "" {
    			// Bucket is required if object-prefix is given
    			err = ErrHealMissingBucket
    			return
    		}
    	} else if isReservedOrInvalidBucket(hip.bucket, false) {
    		err = ErrInvalidBucketName
    		return
    	}
    
    	// empty prefix is valid.
    	if !IsValidObjectPrefix(hip.objPrefix) {
    		err = ErrInvalidObjectName
    		return
    	}
    
    	if len(qParams[mgmtClientToken]) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top