Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    		return
    	}
    
    	writeSuccessResponseJSON(w, body)
    }
    
    func getSREditOptions(r *http.Request) (opts madmin.SREditOptions) {
    	opts.DisableILMExpiryReplication = r.Form.Get("disableILMExpiryReplication") == "true"
    	opts.EnableILMExpiryReplication = r.Form.Get("enableILMExpiryReplication") == "true"
    	return
    }
    
    // SRPeerEdit - PUT /minio/admin/v3/site-replication/peer/edit
    //
    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

    			}
    		}
    	}
    
    	// if disable/enable ILM expiry replication, deployment id not needed.
    	// check for below error only if other options being updated (e.g. endpoint, sync, bandwidth)
    	if !opts.DisableILMExpiryReplication && !opts.EnableILMExpiryReplication && !found {
    		return madmin.ReplicateEditStatus{}, errSRInvalidRequest(fmt.Errorf("%s not found in existing replicated sites", peer.DeploymentID))
    	}
    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