outposts: fix typo
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
ee56da5092
commit
0f8880ab0a
|
@ -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()
|
||||
|
|
|
@ -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))
|
||||
}()
|
||||
|
||||
|
|
Reference in New Issue