outpost: re-run globalSetup when updating config
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
c843f18743
commit
052e465041
|
@ -146,6 +146,7 @@ func (a *APIController) OnRefresh() error {
|
||||||
a.Outpost = outposts.Results[0]
|
a.Outpost = outposts.Results[0]
|
||||||
|
|
||||||
a.logger.WithField("name", a.Outpost.Name).Debug("Fetched outpost configuration")
|
a.logger.WithField("name", a.Outpost.Name).Debug("Fetched outpost configuration")
|
||||||
|
doGlobalSetup(a.Outpost, a.GlobalConfig)
|
||||||
return a.Server.Refresh()
|
return a.Server.Refresh()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue