trace: Bootstrap to show the correct source line number (#16989)

This commit is contained in:
Anis Eleuch
2023-04-07 01:51:53 +01:00
committed by GitHub
parent 9803f68522
commit 91b6fe1af3
3 changed files with 5 additions and 5 deletions

View File

@@ -352,7 +352,7 @@ func configRetriableErrors(err error) bool {
}
func bootstrapTrace(msg string) {
globalBootstrapTracer.Record(msg)
globalBootstrapTracer.Record(msg, 2)
if globalTrace.NumSubscribers(madmin.TraceBootstrap) == 0 {
return