From ffa102192731f709917631ea010d935dba7cf555 Mon Sep 17 00:00:00 2001 From: Jim Hays Date: Mon, 24 Apr 2023 16:53:51 -0400 Subject: [PATCH] Fix typo: 'GetApplicationCacheServiceBusSubcriptionName' -> 'GetApplicationCacheServiceBusSubscriptionName' --- src/Core/HostedServices/ApplicationCacheHostedService.cs | 2 +- .../InMemoryServiceBusApplicationCacheService.cs | 2 +- src/Core/Utilities/CoreHelpers.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Core/HostedServices/ApplicationCacheHostedService.cs b/src/Core/HostedServices/ApplicationCacheHostedService.cs index d5f4b77e3f..1bde351ee4 100644 --- a/src/Core/HostedServices/ApplicationCacheHostedService.cs +++ b/src/Core/HostedServices/ApplicationCacheHostedService.cs @@ -27,7 +27,7 @@ public class ApplicationCacheHostedService : IHostedService, IDisposable GlobalSettings globalSettings) { _topicName = globalSettings.ServiceBus.ApplicationCacheTopicName; - _subName = CoreHelpers.GetApplicationCacheServiceBusSubcriptionName(globalSettings); + _subName = CoreHelpers.GetApplicationCacheServiceBusSubscriptionName(globalSettings); _applicationCacheService = applicationCacheService as InMemoryServiceBusApplicationCacheService; _organizationRepository = organizationRepository; _logger = logger; diff --git a/src/Core/Services/Implementations/InMemoryServiceBusApplicationCacheService.cs b/src/Core/Services/Implementations/InMemoryServiceBusApplicationCacheService.cs index 1c059e4ca6..27dde6337a 100644 --- a/src/Core/Services/Implementations/InMemoryServiceBusApplicationCacheService.cs +++ b/src/Core/Services/Implementations/InMemoryServiceBusApplicationCacheService.cs @@ -18,7 +18,7 @@ public class InMemoryServiceBusApplicationCacheService : InMemoryApplicationCach GlobalSettings globalSettings) : base(organizationRepository, providerRepository) { - _subName = CoreHelpers.GetApplicationCacheServiceBusSubcriptionName(globalSettings); + _subName = CoreHelpers.GetApplicationCacheServiceBusSubscriptionName(globalSettings); _topicClient = new TopicClient(globalSettings.ServiceBus.ConnectionString, globalSettings.ServiceBus.ApplicationCacheTopicName); } diff --git a/src/Core/Utilities/CoreHelpers.cs b/src/Core/Utilities/CoreHelpers.cs index b41f36bfb9..572b1c938d 100644 --- a/src/Core/Utilities/CoreHelpers.cs +++ b/src/Core/Utilities/CoreHelpers.cs @@ -526,7 +526,7 @@ public static class CoreHelpers return !invalid; } - public static string GetApplicationCacheServiceBusSubcriptionName(GlobalSettings globalSettings) + public static string GetApplicationCacheServiceBusSubscriptionName(GlobalSettings globalSettings) { var subName = globalSettings.ServiceBus.ApplicationCacheSubscriptionName; if (string.IsNullOrWhiteSpace(subName))