From 6cc75e6fbac317db268643121f03b5ed6d191a97 Mon Sep 17 00:00:00 2001 From: Bob Langley Date: Thu, 13 Dec 2018 13:30:07 -0800 Subject: [PATCH] Set Settings property in RavenBootstrapper when StartRaven is used --- src/ServiceControl/Infrastructure/RavenDB/RavenBootstrapper.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ServiceControl/Infrastructure/RavenDB/RavenBootstrapper.cs b/src/ServiceControl/Infrastructure/RavenDB/RavenBootstrapper.cs index 9dac14d825..b3534c263c 100644 --- a/src/ServiceControl/Infrastructure/RavenDB/RavenBootstrapper.cs +++ b/src/ServiceControl/Infrastructure/RavenDB/RavenBootstrapper.cs @@ -47,6 +47,8 @@ public static string ReadLicense() public void StartRaven(EmbeddableDocumentStore documentStore, Settings settings, MarkerFileService markerFileService, bool maintenanceMode) { + Settings = settings; + Directory.CreateDirectory(settings.DbPath); documentStore.Listeners.RegisterListener(new SubscriptionsLegacyAddressConverter());