admin-trace: Fix support for tracing scanner calls (#4417)

This commit is contained in:
Krishnan Parthasarathi
2022-12-22 10:58:17 -08:00
committed by GitHub
parent 8f0ae83bf8
commit 2166c63e8f
+1
View File
@@ -90,6 +90,7 @@ var traceCallTypes = map[string]func(o *madmin.ServiceTraceOpts) (help string){
"internal": func(o *madmin.ServiceTraceOpts) string { o.Internal = true; return "Trace Internal RPC calls" },
"s3": func(o *madmin.ServiceTraceOpts) string { o.S3 = true; return "Trace S3 API calls" },
"os": func(o *madmin.ServiceTraceOpts) string { o.OS = true; return "Trace Operating System calls" },
"scanner": func(o *madmin.ServiceTraceOpts) string { o.Scanner = true; return "Trace Scanner calls" },
"healing": func(o *madmin.ServiceTraceOpts) string {
o.Healing = true
return "Trace Healing operations (alias: heal)"