From 169578c25df26a5b2b1276c89fca84807c296237 Mon Sep 17 00:00:00 2001 From: William Petit Date: Thu, 26 Sep 2024 15:48:22 +0200 Subject: [PATCH] chore: fix log typo --- internal/admin/server.go | 2 +- internal/proxy/server.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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",