diff --git a/cmd/admin-trace.go b/cmd/admin-trace.go index c44a585e..571c1de1 100644 --- a/cmd/admin-trace.go +++ b/cmd/admin-trace.go @@ -112,6 +112,10 @@ var traceCallTypes = map[string]func(o *madmin.ServiceTraceOpts) (help string){ o.BatchReplication = true return "Trace Batch Replication (alias: brep)" }, + "batch-keyrotation": func(o *madmin.ServiceTraceOpts) string { + o.BatchKeyRotation = true + return "Trace Batch KeyRotation (alias: brot)" + }, "decommission": func(o *madmin.ServiceTraceOpts) string { o.Decommission = true return "Trace Decommission operations (alias: decom)" @@ -132,6 +136,7 @@ var traceCallTypeAliases = map[string]func(o *madmin.ServiceTraceOpts) string{ "decom": traceCallTypes["decommission"], "resync": traceCallTypes["replication-resync"], "brep": traceCallTypes["batch-replication"], + "brot": traceCallTypes["batch-keyrotation"], } func traceCallsHelp() string { diff --git a/cmd/batch-generate.go b/cmd/batch-generate.go index b7e56bd4..0bbe2ca6 100644 --- a/cmd/batch-generate.go +++ b/cmd/batch-generate.go @@ -82,6 +82,7 @@ func mainBatchGenerate(ctx *cli.Context) error { switch jobType { case string(madmin.BatchJobReplicate): + case string(madmin.BatchJobKeyRotate): default: fatalIf(errInvalidArgument().Trace(jobType), "Unable to generate a job template for the specified job type") }