fix a typo

This commit is contained in:
徐胖 2019-05-21 19:26:31 +08:00
parent 8ae7ae7ec8
commit 5c36e3db17

View file

@ -159,7 +159,7 @@ func HandleLogin(
// since it is a long-running process and can take up
// to a few minutes.
if user.Syncing {
go synchornize(ctx, syncer, user)
go synchronize(ctx, syncer, user)
}
logger.Debugf("authentication successful")
@ -169,7 +169,7 @@ func HandleLogin(
}
}
func synchornize(ctx context.Context, syncer core.Syncer, user *core.User) {
func synchronize(ctx context.Context, syncer core.Syncer, user *core.User) {
log := logrus.WithField("login", user.Login)
log.Debugf("begin synchronization")