From b7812be33ae801e726350d3c852b75b29b1ab0e7 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 17 Jun 2017 19:30:04 -0500 Subject: [PATCH] fix misspell (#1996) Signed-off-by: Bo-Yi Wu --- modules/mailer/mailer.go | 2 +- routers/install.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/mailer/mailer.go b/modules/mailer/mailer.go index d154cb9c2d..1f173e6b90 100644 --- a/modules/mailer/mailer.go +++ b/modules/mailer/mailer.go @@ -83,7 +83,7 @@ func (a *loginAuth) Next(fromServer []byte, more bool) ([]byte, error) { case "Password:": return []byte(a.password), nil default: - return nil, fmt.Errorf("unknwon fromServer: %s", string(fromServer)) + return nil, fmt.Errorf("unknown fromServer: %s", string(fromServer)) } } return nil, nil diff --git a/routers/install.go b/routers/install.go index 57311e13a4..3d051bd376 100644 --- a/routers/install.go +++ b/routers/install.go @@ -81,7 +81,7 @@ func Install(ctx *context.Context) { form.RepoRootPath = setting.RepoRootPath form.LFSRootPath = setting.LFS.ContentPath - // Note(unknwon): it's hard for Windows users change a running user, + // Note(unknown): it's hard for Windows users change a running user, // so just use current one if config says default. if setting.IsWindows && setting.RunUser == "git" { form.RunUser = user.CurrentUsername()