outposts: fix typo

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-09-22 13:14:28 +02:00
parent ee56da5092
commit 0f8880ab0a
2 changed files with 1 additions and 2 deletions

View File

@ -117,7 +117,6 @@ func (a *APIController) OnRefresh() error {
return err
}
outpost := outposts.Results[0]
doGlobalSetup(outpost.Config)
log.WithField("name", outpost.Name).Debug("Fetched outpost configuration")
return a.Server.Refresh()

View File

@ -60,7 +60,7 @@ func (ls *LDAPServer) Search(bindDN string, searchReq ldap.SearchRequest, conn n
if err == nil {
return
}
log.WithError(err.(error)).Error("recover in serach request")
log.WithError(err.(error)).Error("recover in search request")
sentry.CaptureException(err.(error))
}()