From 8bdfb7e1cf6c9946be6c193a9ff4d0579e419ed6 Mon Sep 17 00:00:00 2001 From: Kevin Wang Date: Thu, 23 Nov 2023 03:06:19 -0500 Subject: [PATCH] chore(authn.service): fix typo in log statement (#76205) --- pkg/services/authn/clients/grafana.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/services/authn/clients/grafana.go b/pkg/services/authn/clients/grafana.go index 6f16e3e910d..31a94f27205 100644 --- a/pkg/services/authn/clients/grafana.go +++ b/pkg/services/authn/clients/grafana.go @@ -92,7 +92,7 @@ func (c *Grafana) AuthenticatePassword(ctx context.Context, r *authn.Request, us usr, err := c.userService.GetByLogin(ctx, &user.GetUserByLoginQuery{LoginOrEmail: username}) if err != nil { if errors.Is(err, user.ErrUserNotFound) { - return nil, errIdentityNotFound.Errorf("no user fund: %w", err) + return nil, errIdentityNotFound.Errorf("no user found: %w", err) } return nil, err }