Add support for batch job cancellation (#16843)

This commit is contained in:
Poorna
2023-03-17 23:42:43 -07:00
committed by GitHub
parent 31fba6f434
commit 440ad20c1d
4 changed files with 64 additions and 5 deletions

View File

@@ -237,6 +237,8 @@ func registerAdminRouter(router *mux.Router, enableConfigOps bool) {
adminRouter.Methods(http.MethodGet).Path(adminVersion + "/describe-job").HandlerFunc(
gz(httpTraceHdrs(adminAPI.DescribeBatchJob)))
adminRouter.Methods(http.MethodDelete).Path(adminVersion + "/cancel-job").HandlerFunc(
gz(httpTraceHdrs(adminAPI.CancelBatchJob)))
// Bucket migration operations
// ExportBucketMetaHandler