Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SiteResyncOp (0.23 sec)

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

    	var peerSite madmin.PeerInfo
    	if err := parseJSONBody(ctx, r.Body, &peerSite, ""); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	vars := mux.Vars(r)
    	op := madmin.SiteResyncOp(vars["operation"])
    	var (
    		status madmin.SRResyncOpStatus
    		err    error
    	)
    	switch op {
    	case madmin.SiteResyncStart:
    		status, err = globalSiteReplicationSys.startResync(ctx, objectAPI, peerSite)
    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