From 052e465041b394eda26ce89bef4c34d54f0919b6 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 20 Dec 2021 21:08:03 +0100 Subject: [PATCH] outpost: re-run globalSetup when updating config Signed-off-by: Jens Langhammer --- internal/outpost/ak/api.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/outpost/ak/api.go b/internal/outpost/ak/api.go index bd3de1048..dbe237a02 100644 --- a/internal/outpost/ak/api.go +++ b/internal/outpost/ak/api.go @@ -146,6 +146,7 @@ func (a *APIController) OnRefresh() error { a.Outpost = outposts.Results[0] a.logger.WithField("name", a.Outpost.Name).Debug("Fetched outpost configuration") + doGlobalSetup(a.Outpost, a.GlobalConfig) return a.Server.Refresh() }