From 3dd1ea61a16274e9865f8c71472b570efad67a0e Mon Sep 17 00:00:00 2001 From: longyuqing112 <105913803+longyuqing112@users.noreply.github.com> Date: Mon, 4 Mar 2024 07:24:33 +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 be8837074..c2e6bdcca 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 {