outpost: re-run globalSetup when updating config

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-12-20 21:08:03 +01:00
parent c843f18743
commit 052e465041
1 changed files with 1 additions and 0 deletions

View File

@ -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()
}