Skip to content

Commit 83c8910

Browse files
Rename IsManagementHub setting to IsManagementHubService
1 parent d2cbd0b commit 83c8910

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Certify.Core/Management/CertifyManager/CertifyManager.Maintenance.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ private async Task UpgradeSettings()
3939

4040
if (Environment.GetEnvironmentVariable("CERTIFY_ENABLE_MANAGEMENT_HUB")?.Equals("true", StringComparison.InvariantCultureIgnoreCase) == true)
4141
{
42-
CoreAppSettings.Current.IsManagementHub = true;
42+
CoreAppSettings.Current.IsManagementHubService = true;
4343
}
4444

4545
SettingsManager.SaveAppSettings();
4646

4747
var accessControl = await GetCurrentAccessControl();
4848

49-
if (CoreAppSettings.Current.IsManagementHub)
49+
if (CoreAppSettings.Current.IsManagementHubService)
5050
{
5151
if (await accessControl.IsInitialized() == false)
5252
{

src/Certify.Core/Management/SettingsManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public static CoreAppSettings Current
184184
/// <summary>
185185
/// if true, additional management hub features and data stores may be enabled
186186
/// </summary>
187-
public bool IsManagementHub { get; set; }
187+
public bool IsManagementHubService { get; set; }
188188
}
189189

190190
public class SettingsManager

0 commit comments

Comments
 (0)