Use IOptionsSnapshot in order to get updates
This commit is contained in:
Родитель
322c1d1fee
Коммит
4be7617903
|
@ -26,7 +26,7 @@ namespace Steeltoe.InitializrApi.Configuration
|
|||
/// <param name="settings">Injected settings from Config Server.</param>
|
||||
/// <param name="logger">Injected logger.</param>
|
||||
public UiConfigService(
|
||||
IOptions<UiConfig> configuration,
|
||||
IOptionsSnapshot<UiConfig> configuration,
|
||||
IOptions<ConfigServerClientSettingsOptions> settings,
|
||||
ILogger<UiConfigService> logger)
|
||||
: base(logger)
|
||||
|
|
Загрузка…
Ссылка в новой задаче