outpost: re-run globalSetup when updating config
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -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() | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer