From c8f0a61209eb5ca35ebda5bd0a023d16a4cf03cf Mon Sep 17 00:00:00 2001 From: Westin Miller Date: Thu, 7 Sep 2017 14:54:57 -0700 Subject: [PATCH] Provide DS config path to Save This keeps MyFileSystem from getting initialized too early. --- Torch.Server/Managers/InstanceManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Torch.Server/Managers/InstanceManager.cs b/Torch.Server/Managers/InstanceManager.cs index c8d52b8..f11a446 100644 --- a/Torch.Server/Managers/InstanceManager.cs +++ b/Torch.Server/Managers/InstanceManager.cs @@ -131,7 +131,7 @@ namespace Torch.Server.Managers public void SaveConfig() { - DedicatedConfig.Save(); + DedicatedConfig.Save(Path.Combine(Torch.Config.InstancePath, CONFIG_NAME)); Log.Info("Saved dedicated config."); try