mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 22:16:15 +03: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:
@@ -90,7 +90,7 @@ func (c *muxClient) traceRoundtrip(ctx context.Context, t *tracer, h HandlerID,
|
|||||||
trace := madmin.TraceInfo{
|
trace := madmin.TraceInfo{
|
||||||
TraceType: t.TraceType,
|
TraceType: t.TraceType,
|
||||||
FuncName: prefix + "." + h.String(),
|
FuncName: prefix + "." + h.String(),
|
||||||
NodeName: t.Local,
|
NodeName: t.Remote,
|
||||||
Time: start,
|
Time: start,
|
||||||
Duration: end.Sub(start),
|
Duration: end.Sub(start),
|
||||||
Path: t.Subroute,
|
Path: t.Subroute,
|
||||||
@@ -100,7 +100,7 @@ func (c *muxClient) traceRoundtrip(ctx context.Context, t *tracer, h HandlerID,
|
|||||||
Time: start,
|
Time: start,
|
||||||
Proto: "grid",
|
Proto: "grid",
|
||||||
Method: "REQ",
|
Method: "REQ",
|
||||||
Client: t.Remote,
|
Client: t.Local,
|
||||||
Headers: nil,
|
Headers: nil,
|
||||||
Path: t.Subroute,
|
Path: t.Subroute,
|
||||||
Body: []byte(body),
|
Body: []byte(body),
|
||||||
|
|||||||
Reference in New Issue
Block a user