chore: fix log typo
Cadoles/bouncer/pipeline/head This commit looks good
Details
Cadoles/bouncer/pipeline/head This commit looks good
Details
This commit is contained in:
parent
b0a71fc599
commit
169578c25d
|
@ -162,7 +162,7 @@ func (s *Server) run(parentCtx context.Context, addrs chan net.Addr, errs chan e
|
||||||
|
|
||||||
router.Group(func(r chi.Router) {
|
router.Group(func(r chi.Router) {
|
||||||
if profiling.BasicAuth != nil {
|
if profiling.BasicAuth != nil {
|
||||||
logger.Info(ctx, "enabling authentication on metrics endpoint")
|
logger.Info(ctx, "enabling authentication on profiling endpoint")
|
||||||
|
|
||||||
r.Use(middleware.BasicAuth(
|
r.Use(middleware.BasicAuth(
|
||||||
"profiling",
|
"profiling",
|
||||||
|
|
|
@ -153,7 +153,7 @@ func (s *Server) run(parentCtx context.Context, addrs chan net.Addr, errs chan e
|
||||||
|
|
||||||
router.Group(func(r chi.Router) {
|
router.Group(func(r chi.Router) {
|
||||||
if profiling.BasicAuth != nil {
|
if profiling.BasicAuth != nil {
|
||||||
logger.Info(ctx, "enabling authentication on metrics endpoint")
|
logger.Info(ctx, "enabling authentication on profiling endpoint")
|
||||||
|
|
||||||
r.Use(middleware.BasicAuth(
|
r.Use(middleware.BasicAuth(
|
||||||
"profiling",
|
"profiling",
|
||||||
|
|
Loading…
Reference in New Issue