Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BucketNotEmpty (0.19 sec)

  1. cmd/api-errors.go

    		Description:    "The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBucketNotEmpty: {
    		Code:           "BucketNotEmpty",
    		Description:    "The bucket you tried to delete is not empty",
    		HTTPStatusCode: http.StatusConflict,
    	},
    	ErrBucketAlreadyExists: {
    		Code:           "BucketAlreadyExists",
    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/bucket-handlers.go

    		Force:      forceDelete,
    		SRDeleteOp: getSRBucketDeleteOp(globalSiteReplicationSys.isEnabled()),
    	}); err != nil {
    		apiErr := toAPIError(ctx, err)
    		if _, ok := err.(BucketNotEmpty); ok {
    			if globalBucketVersioningSys.Enabled(bucket) || globalBucketVersioningSys.Suspended(bucket) {
    				apiErr.Description = "The bucket you tried to delete is not empty. You must delete all versions in the bucket."
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top