From 4be7617903f3f1637b26c5ab9e52f0694abeec1b Mon Sep 17 00:00:00 2001 From: Chris Cheetham Date: Mon, 12 Jul 2021 08:51:24 -0400 Subject: [PATCH] Use IOptionsSnapshot in order to get updates --- src/InitializrApi/Configuration/UiConfigService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/InitializrApi/Configuration/UiConfigService.cs b/src/InitializrApi/Configuration/UiConfigService.cs index 653ac53..df3a850 100644 --- a/src/InitializrApi/Configuration/UiConfigService.cs +++ b/src/InitializrApi/Configuration/UiConfigService.cs @@ -26,7 +26,7 @@ namespace Steeltoe.InitializrApi.Configuration /// Injected settings from Config Server. /// Injected logger. public UiConfigService( - IOptions configuration, + IOptionsSnapshot configuration, IOptions settings, ILogger logger) : base(logger)