Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PeerBucketQuotaConfigHandler (0.18 sec)

  1. cmd/admin-handlers-site-replication.go

    		if item.Quota == nil {
    			err = globalSiteReplicationSys.PeerBucketQuotaConfigHandler(ctx, item.Bucket, nil, item.UpdatedAt)
    		} else {
    			quotaConfig, err := parseBucketQuota(item.Bucket, item.Quota)
    			if err != nil {
    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    				return
    			}
    			if err = globalSiteReplicationSys.PeerBucketQuotaConfigHandler(ctx, item.Bucket, quotaConfig, item.UpdatedAt); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    	_, err := globalBucketMetadataSys.Delete(ctx, bucket, bucketSSEConfig)
    	if err != nil {
    		return wrapSRErr(err)
    	}
    	return nil
    }
    
    // PeerBucketQuotaConfigHandler - copies/deletes policy to local cluster.
    func (c *SiteReplicationSys) PeerBucketQuotaConfigHandler(ctx context.Context, bucket string, quota *madmin.BucketQuota, updatedAt time.Time) error {
    	// skip overwrite if local update is newer than peer update.
    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