mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
fix: adminTrace show any errors when server is shutdown. (#10370)
This commit is contained in:
parent
e730da1438
commit
2d96940826
@ -95,6 +95,7 @@ func (adm AdminClient) ServiceTrace(ctx context.Context, allTrace, errTrace bool
|
||||
resp, err := adm.executeMethod(ctx, http.MethodGet, reqData)
|
||||
if err != nil {
|
||||
closeResponse(resp)
|
||||
traceInfoCh <- ServiceTraceInfo{Err: err}
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user