Fixes initialization issue for deployments monitor
This commit is contained in:
parent
b8774e7273
commit
fe11a97458
|
@ -8,7 +8,7 @@ namespace BiblioTech
|
||||||
{
|
{
|
||||||
private readonly List<CodexDeployment> deployments = new List<CodexDeployment>();
|
private readonly List<CodexDeployment> deployments = new List<CodexDeployment>();
|
||||||
|
|
||||||
public DeploymentsFilesMonitor()
|
public void Initialize()
|
||||||
{
|
{
|
||||||
LoadDeployments();
|
LoadDeployments();
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,8 @@ namespace BiblioTech
|
||||||
var uniformArgs = new ArgsUniform<Configuration>(PrintHelp, args);
|
var uniformArgs = new ArgsUniform<Configuration>(PrintHelp, args);
|
||||||
Config = uniformArgs.Parse();
|
Config = uniformArgs.Parse();
|
||||||
|
|
||||||
|
DeploymentFilesMonitor.Initialize();
|
||||||
|
|
||||||
EnsurePath(Config.DataPath);
|
EnsurePath(Config.DataPath);
|
||||||
EnsurePath(Config.UserDataPath);
|
EnsurePath(Config.UserDataPath);
|
||||||
EnsurePath(Config.EndpointsPath);
|
EnsurePath(Config.EndpointsPath);
|
||||||
|
|
Loading…
Reference in New Issue