Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for BucketAlreadyExists (0.1 sec)

  1. cmd/object-api-errors.go

    type BucketNotFound GenericError
    
    func (e BucketNotFound) Error() string {
    	return "Bucket not found: " + e.Bucket
    }
    
    // BucketAlreadyExists the requested bucket name is not available.
    type BucketAlreadyExists GenericError
    
    func (e BucketAlreadyExists) Error() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. cmd/warm-backend-gcs.go

    			err = BucketAlreadyOwnedByYou{Bucket: bucket}
    			break
    		}
    		if message == "Sorry, that name is not available. Please try a different one." {
    			err = BucketAlreadyExists{Bucket: bucket}
    			break
    		}
    		err = BucketNotEmpty{Bucket: bucket}
    	}
    
    	return err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    		Code:           "BucketNotEmpty",
    		Description:    "The bucket you tried to delete is not empty",
    		HTTPStatusCode: http.StatusConflict,
    	},
    	ErrBucketAlreadyExists: {
    		Code:           "BucketAlreadyExists",
    		Description:    "The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again.",
    		HTTPStatusCode: http.StatusConflict,
    	},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    		return errServerNotInitialized
    	}
    
    	err := objAPI.MakeBucket(ctx, bucket, opts)
    	if err != nil {
    		// Check if this is a bucket exists error.
    		_, ok1 := err.(BucketExists)
    		_, ok2 := err.(BucketAlreadyExists)
    		if !ok1 && !ok2 {
    			return wrapSRErr(c.annotateErr(makeBucketWithVersion, err))
    		}
    	} else {
    		// Load updated bucket metadata into memory as new
    		// bucket was created.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top