forked from TrueCloudLab/frostfs-http-gw
log: fix routes in log message
This commit is contained in:
parent
54071b5da4
commit
21fc1c6e6c
1 changed files with 2 additions and 2 deletions
4
app.go
4
app.go
|
@ -188,13 +188,13 @@ func (a *app) Serve(ctx context.Context) {
|
||||||
|
|
||||||
// enable metrics
|
// enable metrics
|
||||||
if a.cfg.GetBool("metrics") {
|
if a.cfg.GetBool("metrics") {
|
||||||
a.log.Info("enabled /metrics")
|
a.log.Info("enabled /metrics/")
|
||||||
attachMetrics(r, a.wlog)
|
attachMetrics(r, a.wlog)
|
||||||
}
|
}
|
||||||
|
|
||||||
// enable pprof
|
// enable pprof
|
||||||
if a.cfg.GetBool("pprof") {
|
if a.cfg.GetBool("pprof") {
|
||||||
a.log.Info("enabled /debug/pprof")
|
a.log.Info("enabled /debug/pprof/")
|
||||||
attachProfiler(r)
|
attachProfiler(r)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue