Fix revive lint issues (#2730)

This commit is contained in:
Javier Adriel
2023-03-22 15:06:04 -06:00
committed by GitHub
parent a6d8f6beaa
commit ceafdb9cb4
21 changed files with 126 additions and 134 deletions

View File

@@ -311,7 +311,7 @@ func (ac AdminClient) stopProfiling(ctx context.Context) (io.ReadCloser, error)
}
// implements madmin.ServiceTrace()
func (ac AdminClient) serviceTrace(ctx context.Context, threshold int64, s3, internal, storage, os, errTrace bool) <-chan madmin.ServiceTraceInfo {
func (ac AdminClient) serviceTrace(ctx context.Context, threshold int64, _, internal, storage, os, errTrace bool) <-chan madmin.ServiceTraceInfo {
thresholdT := time.Duration(threshold)
tracingOptions := madmin.ServiceTraceOpts{