From 0c7b14ad83ac07a290618bf59ef711e9c124adf4 Mon Sep 17 00:00:00 2001 From: longyuqing112 <105913803+longyuqing112@users.noreply.github.com> Date: Mon, 4 Mar 2024 04:07:48 +0000 Subject: [PATCH] feat: add openim make lint --- pkg/common/ginprometheus/ginprometheus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/ginprometheus/ginprometheus.go b/pkg/common/ginprometheus/ginprometheus.go index c2e6bdcca..be8837074 100644 --- a/pkg/common/ginprometheus/ginprometheus.go +++ b/pkg/common/ginprometheus/ginprometheus.go @@ -194,7 +194,7 @@ func (p *Prometheus) SetListenAddressWithRouter(listenAddress string, r *gin.Eng if len(p.listenAddress) > 0 { p.router = r } -} +} // SetMetricsPath set metrics paths. func (p *Prometheus) SetMetricsPath(e *gin.Engine) error {