fix some typos
This commit is contained in:
parent
1042b18716
commit
acc6c8282b
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ import "context"
|
||||||
|
|
||||||
// AdmissionService grants access to the system. The service can
|
// AdmissionService grants access to the system. The service can
|
||||||
// be used to restrict access to authorized users, such as
|
// 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.
|
// system.
|
||||||
type AdmissionService interface {
|
type AdmissionService interface {
|
||||||
Admit(context.Context, *User) error
|
Admit(context.Context, *User) error
|
||||||
|
|
|
@ -438,7 +438,7 @@ func (m *Manager) Netrc(ctx context.Context, id int64) (*core.Netrc, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger = logger.WithError(err)
|
logger = logger.WithError(err)
|
||||||
logger = logger.WithField("repo.name", repo.Slug)
|
logger = logger.WithField("repo.name", repo.Slug)
|
||||||
logger.Warnln("manager: cannot gernerate netrc")
|
logger.Warnln("manager: cannot generate netrc")
|
||||||
}
|
}
|
||||||
return netrc, err
|
return netrc, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue