Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PeerStateEditReq (0.28 sec)

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

    	var state madmin.SRStateEditReq
    	if err := parseJSONBody(ctx, r.Body, &state, ""); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	if err := globalSiteReplicationSys.PeerStateEditReq(ctx, state); err != nil {
    		adminLogIf(ctx, err)
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    }
    
    func getSRStatusOptions(r *http.Request) (opts madmin.SRStatusOptions) {
    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