mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: generate gin logs failed cause access logs panic (#34142)
relate: https://github.com/milvus-io/milvus/issues/34141 Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
This commit is contained in:
parent
18f2458385
commit
233b8486ec
@ -40,7 +40,7 @@ type RestfulInfo struct {
|
||||
}
|
||||
|
||||
func NewRestfulInfo() *RestfulInfo {
|
||||
return &RestfulInfo{start: time.Now()}
|
||||
return &RestfulInfo{start: time.Now(), params: &gin.LogFormatterParams{}}
|
||||
}
|
||||
|
||||
func (i *RestfulInfo) SetParams(p *gin.LogFormatterParams) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user