Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BucketAlreadyExists (0.26 sec)

  1. 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