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:
@ -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;
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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))
|
||||||
|
Reference in New Issue
Block a user