- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for parseJSONBody (0.08 sec)
-
cmd/admin-handlers-site-replication.go
ctx := r.Context() objectAPI, cred := validateAdminReq(ctx, w, r, policy.SiteReplicationAddAction) if objectAPI == nil { return } var sites []madmin.PeerSite if err := parseJSONBody(ctx, r.Body, &sites, cred.SecretKey); err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } opts := getSRAddOptions(r)
Registered: 2024-06-16 00:44 - Last Modified: 2024-05-24 23:05 - 19.4K bytes - Viewed (0)