Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getSREditOptions (0.07 sec)

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

    	}
    	var site madmin.PeerInfo
    	err := parseJSONBody(ctx, r.Body, &site, cred.SecretKey)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	opts := getSREditOptions(r)
    	status, err := globalSiteReplicationSys.EditPeerCluster(ctx, site, opts)
    	if err != nil {
    		adminLogIf(ctx, err)
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top