Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/site-replication.go

    	defer c.RUnlock()
    	if !c.enabled {
    		return nil
    	}
    
    	optsMap := make(map[string]string)
    	if opts.LockEnabled {
    		optsMap["lockEnabled"] = "true"
    		optsMap["versioningEnabled"] = "true"
    	}
    	if opts.VersioningEnabled {
    		optsMap["versioningEnabled"] = "true"
    	}
    	if opts.ForceCreate {
    		optsMap["forceCreate"] = "true"
    	}
    	createdAt, _ := globalBucketMetadataSys.CreatedAt(bucket)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    		}
    	}
    }
    
    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
    		}
    		bucketExists = true
    	}
    
    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