tracing: Support older admin tracing API (#11999)

mc admin trace does not work with older MinIO versions because if an
incompability with older trace admin API. This commit changes madmin for
better backward compatibility with server admin API.
This commit is contained in:
Anis Elleuch authored and GitHub committed 2021-04-07 08:16:10 -07:00
1 parent a772379dc5
commit 0a1db6d41b
2 files changed
+15 -7

No files matched your search

+3 -3
View File
@@ -25,12 +25,12 @@ import (
type Type int
const (
// HTTP tracing (MinIO S3 & Internode)
HTTP Type = iota
// OS tracing (Golang os package calls)
OS Type = iota
OS
// Storage tracing (MinIO Storage Layer)
Storage
// HTTP tracing (MinIO S3 & Internode)
HTTP
)
// Info - represents a trace record, additionally