diff --git a/internal/outpost/ak/api.go b/internal/outpost/ak/api.go index 21b12b32b..b8a894523 100644 --- a/internal/outpost/ak/api.go +++ b/internal/outpost/ak/api.go @@ -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() diff --git a/internal/outpost/ldap/search.go b/internal/outpost/ldap/search.go index 6b0461fda..d1df57126 100644 --- a/internal/outpost/ldap/search.go +++ b/internal/outpost/ldap/search.go @@ -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)) }()