mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
move Make,Delete,Head,Heal bucket calls to websockets (#18951)
This commit is contained in:
@@ -139,11 +139,8 @@ func (c *muxClient) traceRoundtrip(ctx context.Context, t *tracer, h HandlerID,
|
||||
trace.Path += m.ToQuery()
|
||||
case *URLValues:
|
||||
trace.Path += typed.Values().Encode()
|
||||
case *NoPayload:
|
||||
case *Bytes:
|
||||
if typed != nil {
|
||||
trace.Path = fmt.Sprintf("%s?bytes=%d", trace.Path, len(*typed))
|
||||
}
|
||||
case *NoPayload, *Bytes:
|
||||
trace.Path = fmt.Sprintf("%s?payload=%T", trace.Path, typed)
|
||||
case string:
|
||||
trace.Path = fmt.Sprintf("%s?%s", trace.Path, typed)
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user