From acc6c8282b49c45e81bd6cf3de1d054c1ee8e316 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E8=83=96?= Date: Tue, 16 Apr 2019 10:03:49 +0800 Subject: [PATCH] fix some typos --- core/admission.go | 2 +- operator/manager/manager.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/admission.go b/core/admission.go index d3b23711..ad682b2f 100644 --- a/core/admission.go +++ b/core/admission.go @@ -18,7 +18,7 @@ import "context" // AdmissionService grants access to the system. The service can // be used to restrict access to authorized users, such as -// members of an organiozation in your source control management +// members of an organization in your source control management // system. type AdmissionService interface { Admit(context.Context, *User) error diff --git a/operator/manager/manager.go b/operator/manager/manager.go index 2d5eee70..2823b522 100644 --- a/operator/manager/manager.go +++ b/operator/manager/manager.go @@ -438,7 +438,7 @@ func (m *Manager) Netrc(ctx context.Context, id int64) (*core.Netrc, error) { if err != nil { logger = logger.WithError(err) logger = logger.WithField("repo.name", repo.Slug) - logger.Warnln("manager: cannot gernerate netrc") + logger.Warnln("manager: cannot generate netrc") } return netrc, err }