From 327ba358988d79cfc9d4999eae1138fa48ff71bc Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Wed, 7 Dec 2022 13:06:17 +0530 Subject: [PATCH] feat: rename config/default.toml -> config/config.toml --- config/{default.toml => config.toml} | 0 src/settings.rs | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename config/{default.toml => config.toml} (100%) diff --git a/config/default.toml b/config/config.toml similarity index 100% rename from config/default.toml rename to config/config.toml diff --git a/src/settings.rs b/src/settings.rs index d37c2ca..678369c 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -78,7 +78,7 @@ impl Settings { pub fn new() -> Result { let mut s = Config::new(); - const CURRENT_DIR: &str = "./config/default.toml"; + const CURRENT_DIR: &str = "./config/config.toml"; const ETC: &str = "/etc/lpconductor/config.toml"; if let Ok(path) = env::var("LPCONDUCTOR_CONFIG") {