Return full value of client in trace message (#3450)
This commit is contained in:
@@ -146,8 +146,7 @@ func shortTrace(info *madmin.ServiceTraceInfo) shortTraceMsg {
|
|||||||
if host, ok := t.HTTP.ReqInfo.Headers["Host"]; ok {
|
if host, ok := t.HTTP.ReqInfo.Headers["Host"]; ok {
|
||||||
s.Host = strings.Join(host, "")
|
s.Host = strings.Join(host, "")
|
||||||
}
|
}
|
||||||
cSlice := strings.Split(t.HTTP.ReqInfo.Client, ":")
|
s.Client = t.HTTP.ReqInfo.Client
|
||||||
s.Client = cSlice[0]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return s
|
return s
|
||||||
|
|||||||
Reference in New Issue
Block a user