Merge pull request #2712 from xuyang2/fix-typo [ci skip]

fix a typo
This commit is contained in:
Brad Rydzewski 2019-05-27 21:35:52 -07:00 committed by GitHub
commit 099e671166
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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")