fix some typos

This commit is contained in:
徐胖 2019-04-16 10:03:49 +08:00
parent 1042b18716
commit acc6c8282b
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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
}