Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetObjectLockConfig (0.12 sec)

  1. cmd/bucket-replication.go

    			}
    			if ret, err := globalBucketObjectLockSys.Get(bucket); err == nil {
    				if ret.LockEnabled {
    					lock, _, _, _, err := clnt.GetObjectLockConfig(ctx, arn.Bucket)
    					if err != nil {
    						return sameTarget, errorCodes.ToAPIErrWithErr(ErrReplicationDestinationMissingLock, err)
    					}
    					if lock != objectlock.Enabled {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    	if objectLockData != nil {
    		// skip overwrite if local update is newer than peer update.
    		if !updatedAt.IsZero() {
    			if _, updateTm, err := globalBucketMetadataSys.GetObjectLockConfig(bucket); err == nil && updateTm.After(updatedAt) {
    				return nil
    			}
    		}
    
    		configData, err := base64.StdEncoding.DecodeString(*objectLockData)
    		if err != nil {
    			return wrapSRErr(err)
    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