1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 16:12:49 -05:00

Fix typo: 'GetApplicationCacheServiceBusSubcriptionName' -> 'GetApplicationCacheServiceBusSubscriptionName'

This commit is contained in:
Jim Hays
2023-04-24 16:53:51 -04:00
parent 3c44e1d28c
commit ffa1021927
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ public class ApplicationCacheHostedService : IHostedService, IDisposable
GlobalSettings globalSettings) GlobalSettings globalSettings)
{ {
_topicName = globalSettings.ServiceBus.ApplicationCacheTopicName; _topicName = globalSettings.ServiceBus.ApplicationCacheTopicName;
_subName = CoreHelpers.GetApplicationCacheServiceBusSubcriptionName(globalSettings); _subName = CoreHelpers.GetApplicationCacheServiceBusSubscriptionName(globalSettings);
_applicationCacheService = applicationCacheService as InMemoryServiceBusApplicationCacheService; _applicationCacheService = applicationCacheService as InMemoryServiceBusApplicationCacheService;
_organizationRepository = organizationRepository; _organizationRepository = organizationRepository;
_logger = logger; _logger = logger;

View File

@ -18,7 +18,7 @@ public class InMemoryServiceBusApplicationCacheService : InMemoryApplicationCach
GlobalSettings globalSettings) GlobalSettings globalSettings)
: base(organizationRepository, providerRepository) : base(organizationRepository, providerRepository)
{ {
_subName = CoreHelpers.GetApplicationCacheServiceBusSubcriptionName(globalSettings); _subName = CoreHelpers.GetApplicationCacheServiceBusSubscriptionName(globalSettings);
_topicClient = new TopicClient(globalSettings.ServiceBus.ConnectionString, _topicClient = new TopicClient(globalSettings.ServiceBus.ConnectionString,
globalSettings.ServiceBus.ApplicationCacheTopicName); globalSettings.ServiceBus.ApplicationCacheTopicName);
} }

View File

@ -526,7 +526,7 @@ public static class CoreHelpers
return !invalid; return !invalid;
} }
public static string GetApplicationCacheServiceBusSubcriptionName(GlobalSettings globalSettings) public static string GetApplicationCacheServiceBusSubscriptionName(GlobalSettings globalSettings)
{ {
var subName = globalSettings.ServiceBus.ApplicationCacheSubscriptionName; var subName = globalSettings.ServiceBus.ApplicationCacheSubscriptionName;
if (string.IsNullOrWhiteSpace(subName)) if (string.IsNullOrWhiteSpace(subName))