From f837d179b94f44bd84017fd46f51959563fe0745 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 20 Dec 2022 11:26:50 -0800 Subject: [PATCH] ssh/tailssh: fix typo in error message "look up" is the verb. "lookup" is a noun. Change-Id: I81c99e12c236488690758fb5c121e7e4e1622a36 Signed-off-by: Brad Fitzpatrick --- ssh/tailssh/tailssh.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssh/tailssh/tailssh.go b/ssh/tailssh/tailssh.go index 1798631f9..cc90a344a 100644 --- a/ssh/tailssh/tailssh.go +++ b/ssh/tailssh/tailssh.go @@ -368,8 +368,8 @@ func (c *conn) doPolicyAuth(ctx ssh.Context, pubKey ssh.PublicKey) error { } lu, err := user.Lookup(localUser) if err != nil { - c.logf("failed to lookup %v: %v", localUser, err) - ctx.SendAuthBanner(fmt.Sprintf("failed to lookup %v\r\n", localUser)) + c.logf("failed to look up %v: %v", localUser, err) + ctx.SendAuthBanner(fmt.Sprintf("failed to look up %v\r\n", localUser)) return err } gids, err := lu.GroupIds()