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 {