diff --git a/internal/admin/server.go b/internal/admin/server.go index 10000d3..e588587 100644 --- a/internal/admin/server.go +++ b/internal/admin/server.go @@ -162,7 +162,7 @@ func (s *Server) run(parentCtx context.Context, addrs chan net.Addr, errs chan e router.Group(func(r chi.Router) { if profiling.BasicAuth != nil { - logger.Info(ctx, "enabling authentication on metrics endpoint") + logger.Info(ctx, "enabling authentication on profiling endpoint") r.Use(middleware.BasicAuth( "profiling", diff --git a/internal/proxy/server.go b/internal/proxy/server.go index 6d8dece..dcdf0ef 100644 --- a/internal/proxy/server.go +++ b/internal/proxy/server.go @@ -153,7 +153,7 @@ func (s *Server) run(parentCtx context.Context, addrs chan net.Addr, errs chan e router.Group(func(r chi.Router) { if profiling.BasicAuth != nil { - logger.Info(ctx, "enabling authentication on metrics endpoint") + logger.Info(ctx, "enabling authentication on profiling endpoint") r.Use(middleware.BasicAuth( "profiling",