mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -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)
|
resp, err := adm.executeMethod(ctx, http.MethodGet, reqData)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
closeResponse(resp)
|
closeResponse(resp)
|
||||||
|
traceInfoCh <- ServiceTraceInfo{Err: err}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user