mirror of
https://github.com/minio/minio.git
synced 2025-01-25 21:53:16 -05:00
Local and Remote hosts swapped in grid traces (#18574)
Local and Remote hosts swapped in grid trace A bit counter-intuitive, but simple fix.
This commit is contained in:
parent
109a9e3f35
commit
860fc200b0
@ -90,7 +90,7 @@ func (c *muxClient) traceRoundtrip(ctx context.Context, t *tracer, h HandlerID,
|
||||
trace := madmin.TraceInfo{
|
||||
TraceType: t.TraceType,
|
||||
FuncName: prefix + "." + h.String(),
|
||||
NodeName: t.Local,
|
||||
NodeName: t.Remote,
|
||||
Time: start,
|
||||
Duration: end.Sub(start),
|
||||
Path: t.Subroute,
|
||||
@ -100,7 +100,7 @@ func (c *muxClient) traceRoundtrip(ctx context.Context, t *tracer, h HandlerID,
|
||||
Time: start,
|
||||
Proto: "grid",
|
||||
Method: "REQ",
|
||||
Client: t.Remote,
|
||||
Client: t.Local,
|
||||
Headers: nil,
|
||||
Path: t.Subroute,
|
||||
Body: []byte(body),
|
||||
|
Loading…
x
Reference in New Issue
Block a user