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
|
return err
|
||||||
}
|
}
|
||||||
outpost := outposts.Results[0]
|
outpost := outposts.Results[0]
|
||||||
doGlobalSetup(outpost.Config)
|
|
||||||
|
|
||||||
log.WithField("name", outpost.Name).Debug("Fetched outpost configuration")
|
log.WithField("name", outpost.Name).Debug("Fetched outpost configuration")
|
||||||
return a.Server.Refresh()
|
return a.Server.Refresh()
|
||||||
|
|
|
@ -60,7 +60,7 @@ func (ls *LDAPServer) Search(bindDN string, searchReq ldap.SearchRequest, conn n
|
||||||
if err == nil {
|
if err == nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
log.WithError(err.(error)).Error("recover in serach request")
|
log.WithError(err.(error)).Error("recover in search request")
|
||||||
sentry.CaptureException(err.(error))
|
sentry.CaptureException(err.(error))
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|
Reference in a new issue