Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    	if objectAPI == nil {
    		return
    	}
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    	operation := madmin.BktOp(vars["operation"])
    
    	var err error
    	switch operation {
    	default:
    		err = errSRInvalidRequest(errInvalidArgument)
    	case madmin.MakeWithVersioningBktOp:
    		createdAt, cerr := time.Parse(time.RFC3339Nano, strings.TrimSpace(r.Form.Get("createdAt")))
    		if cerr != nil {
    			createdAt = timeSentinel
    		}
    
    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 localHasBuckets && nonLocalPeerWithBuckets != "" {
    		return madmin.ReplicateAddStatus{}, errSRInvalidRequest(errors.New("only one cluster may have data when configuring site replication"))
    	}
    
    	if !localHasBuckets && nonLocalPeerWithBuckets != "" {
    		return madmin.ReplicateAddStatus{}, errSRInvalidRequest(fmt.Errorf("please send your request to the cluster containing data/buckets: %s", nonLocalPeerWithBuckets))
    	}
    
    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