forked from TrueCloudLab/neoneo-go
reformat code at pkg/network/metrics/metrics.go
This commit is contained in:
parent
0a56d3ddbc
commit
2f8b11dabf
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ type PrometheusConfig struct {
|
|||
func NewMetricsService(cfg PrometheusConfig) *Service {
|
||||
return &Service{
|
||||
&http.Server{
|
||||
Addr: cfg.Address + ":" + cfg.Port,
|
||||
Addr: cfg.Address + ":" + cfg.Port,
|
||||
Handler: promhttp.Handler(),
|
||||
}, cfg,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue