From 0f8880ab0a38c99967de2c1402e29b5af9011da3 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 22 Sep 2021 13:14:28 +0200 Subject: [PATCH] outposts: fix typo Signed-off-by: Jens Langhammer --- internal/outpost/ak/api.go | 1 - internal/outpost/ldap/search.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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)) }()