Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MakeBucket (0.07 sec)

  1. cmd/admin-handlers.go

    			prevResult = result
    			w.(http.Flusher).Flush()
    		}
    	}
    }
    
    func makeObjectPerfBucket(ctx context.Context, objectAPI ObjectLayer, bucketName string) (bucketExists bool, err error) {
    	if err = objectAPI.MakeBucket(ctx, bucketName, MakeBucketOptions{VersioningEnabled: globalSiteReplicationSys.isEnabled()}); err != nil {
    		if _, ok := err.(BucketExists); !ok {
    			// Only BucketExists error can be ignored.
    			return false, err
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		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 {
    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