diff --git a/boost_manager/src/main.rs b/boost_manager/src/main.rs index 40c8b80fa..ba941649f 100644 --- a/boost_manager/src/main.rs +++ b/boost_manager/src/main.rs @@ -25,7 +25,7 @@ use task_manager::TaskManager; #[clap(about = "Helium Boost Manager")] pub struct Cli { /// Optional configuration file to use. If present the toml file at the - /// given path will be loaded. Environemnt variables can override the + /// given path will be loaded. Environment variables can override the /// settins in the given file. #[clap(short = 'c')] config: Option, diff --git a/boost_manager/src/settings.rs b/boost_manager/src/settings.rs index 809457d6b..68df20709 100644 --- a/boost_manager/src/settings.rs +++ b/boost_manager/src/settings.rs @@ -70,7 +70,7 @@ impl Settings { /// Load Settings from a given path. Settings are loaded from a given /// optional path and can be overriden with environment variables. /// - /// Environemnt overrides have the same name as the entries in the settings + /// Environment overrides have the same name as the entries in the settings /// file in uppercase and prefixed with "MI_". For example "MI_DATABASE_URL" /// will override the data base url. pub fn new>(path: Option

) -> Result { diff --git a/denylist/src/settings.rs b/denylist/src/settings.rs index 8873606a4..8f9090ad6 100644 --- a/denylist/src/settings.rs +++ b/denylist/src/settings.rs @@ -39,7 +39,7 @@ impl Settings { /// Load Settings from a given path. Settings are loaded from a given /// optional path and can be overriden with environment variables. /// - /// Environemnt overrides have the same name as the entries in the settings + /// Environment overrides have the same name as the entries in the settings /// file in uppercase and prefixed with "DENYLIST_". For example /// "DENYLIST_LOG" will override the log setting. pub fn new>(path: Option

) -> Result { diff --git a/file_store/src/settings.rs b/file_store/src/settings.rs index 2573a5105..40a705a17 100644 --- a/file_store/src/settings.rs +++ b/file_store/src/settings.rs @@ -25,7 +25,7 @@ pub fn default_region() -> String { impl Settings { /// Load Settings from a given path. /// - /// Environemnt overrides are not suppported for file_store cli commands + /// Environment overrides are not suppported for file_store cli commands pub fn new>(path: P) -> Result { Config::builder() .add_source(File::with_name(&path.as_ref().to_string_lossy())) diff --git a/ingest/src/settings.rs b/ingest/src/settings.rs index c135080ca..d63895c4b 100644 --- a/ingest/src/settings.rs +++ b/ingest/src/settings.rs @@ -79,7 +79,7 @@ impl Settings { /// Load Settings from a given path. Settings are loaded from a given /// optional path and can be overriden with environment variables. /// - /// Environemnt overrides have the same name as the entries in the settings + /// Environment overrides have the same name as the entries in the settings /// file in uppercase and prefixed with "ENTROPY_". For example /// "ENTROPY_LOG" will override the log setting. pub fn new>(path: Option

) -> Result { diff --git a/iot_packet_verifier/src/main.rs b/iot_packet_verifier/src/main.rs index f84ff8dac..3e108740c 100644 --- a/iot_packet_verifier/src/main.rs +++ b/iot_packet_verifier/src/main.rs @@ -8,7 +8,7 @@ use std::path::PathBuf; #[clap(about = "Helium IOT Packer Verifier Server")] pub struct Cli { /// Optional configuration file to use. If present the toml file at the - /// given path will be loaded. Environemnt variables can override the + /// given path will be loaded. Environment variables can override the /// settins in the given file. #[clap(short = 'c')] config: Option, diff --git a/iot_packet_verifier/src/settings.rs b/iot_packet_verifier/src/settings.rs index b30f253b9..80d9cb25e 100644 --- a/iot_packet_verifier/src/settings.rs +++ b/iot_packet_verifier/src/settings.rs @@ -60,7 +60,7 @@ impl Settings { /// Load Settings from a given path. Settings are loaded from a given /// optional path and can be overriden with environment variables. /// - /// Environemnt overrides have the same name as the entries in the settings + /// Environment overrides have the same name as the entries in the settings /// file in uppercase and prefixed with "VERIFY_". For example /// "VERIFY_DATABASE_URL" will override the data base url. pub fn new(path: Option>) -> Result { diff --git a/iot_verifier/src/settings.rs b/iot_verifier/src/settings.rs index a1aae945a..17437f337 100644 --- a/iot_verifier/src/settings.rs +++ b/iot_verifier/src/settings.rs @@ -194,7 +194,7 @@ impl Settings { /// Load Settings from a given path. Settings are loaded from a given /// optional path and can be overriden with environment variables. /// - /// Environemnt overrides have the same name as the entries in the settings + /// Environment overrides have the same name as the entries in the settings /// file in uppercase and prefixed with "VERIFY_". For example /// "VERIFY_DATABASE_URL" will override the data base url. pub fn new>(path: Option

) -> Result { diff --git a/mobile_packet_verifier/src/main.rs b/mobile_packet_verifier/src/main.rs index ede970221..b27d9e140 100644 --- a/mobile_packet_verifier/src/main.rs +++ b/mobile_packet_verifier/src/main.rs @@ -8,7 +8,7 @@ use std::path::PathBuf; #[clap(about = "Helium Mobile Packer Verifier Server")] pub struct Cli { /// Optional configuration file to use. If present the toml file at the - /// given path will be loaded. Environemnt variables can override the + /// given path will be loaded. Environment variables can override the /// settins in the given file. #[clap(short = 'c')] config: Option, diff --git a/mobile_packet_verifier/src/settings.rs b/mobile_packet_verifier/src/settings.rs index 08ebd4052..b255b8e0d 100644 --- a/mobile_packet_verifier/src/settings.rs +++ b/mobile_packet_verifier/src/settings.rs @@ -83,7 +83,7 @@ impl Settings { /// Load Settings from a given path. Settings are loaded from a given /// optional path and can be overriden with environment variables. /// - /// Environemnt overrides have the same name as the entries in the settings + /// Environment overrides have the same name as the entries in the settings /// file in uppercase and prefixed with "VERIFY_". For example /// "VERIFY_DATABASE_URL" will override the data base url. pub fn new(path: Option>) -> Result { diff --git a/mobile_verifier/src/main.rs b/mobile_verifier/src/main.rs index a112d55ce..f87238d8c 100644 --- a/mobile_verifier/src/main.rs +++ b/mobile_verifier/src/main.rs @@ -11,7 +11,7 @@ use std::path; #[clap(about = "Helium Mobile Share Server")] pub struct Cli { /// Optional configuration file to use. If present the toml file at the - /// given path will be loaded. Environemnt variables can override the + /// given path will be loaded. Environment variables can override the /// settins in the given file. #[clap(short = 'c')] config: Option, diff --git a/mobile_verifier/src/settings.rs b/mobile_verifier/src/settings.rs index 54a31d9dd..271d7fe18 100644 --- a/mobile_verifier/src/settings.rs +++ b/mobile_verifier/src/settings.rs @@ -85,7 +85,7 @@ impl Settings { /// Load Settings from a given path. Settings are loaded from a given /// optional path and can be overriden with environment variables. /// - /// Environemnt overrides have the same name as the entries in the settings + /// Environment overrides have the same name as the entries in the settings /// file in uppercase and prefixed with "VERIFY_". For example /// "VERIFY_DATABASE_URL" will override the data base url. pub fn new>(path: Option

) -> Result { diff --git a/poc_entropy/src/main.rs b/poc_entropy/src/main.rs index ba0c5f171..fedb727b1 100644 --- a/poc_entropy/src/main.rs +++ b/poc_entropy/src/main.rs @@ -17,7 +17,7 @@ const ENTROPY_SINK_ROLL_SECS: u64 = 2 * 60; #[clap(about = "Helium Entropy Server")] pub struct Cli { /// Optional configuration file to use. If present the toml file at the - /// given path will be loaded. Environemnt variables can override the + /// given path will be loaded. Environment variables can override the /// settins in the given file. #[clap(short = 'c')] config: Option, diff --git a/poc_entropy/src/settings.rs b/poc_entropy/src/settings.rs index 126553c5a..37d632523 100644 --- a/poc_entropy/src/settings.rs +++ b/poc_entropy/src/settings.rs @@ -40,7 +40,7 @@ impl Settings { /// Load Settings from a given path. Settings are loaded from a given /// optional path and can be overriden with environment variables. /// - /// Environemnt overrides have the same name as the entries in the settings + /// Environment overrides have the same name as the entries in the settings /// file in uppercase and prefixed with "ENTROPY_". For example /// "ENTROPY_LOG" will override the log setting. pub fn new>(path: Option

) -> Result { diff --git a/price/src/settings.rs b/price/src/settings.rs index 169b83d80..5cb581681 100644 --- a/price/src/settings.rs +++ b/price/src/settings.rs @@ -62,7 +62,7 @@ impl Settings { /// Load Settings from a given path. Settings are loaded from a given /// optional path and can be overriden with environment variables. /// - /// Environemnt overrides have the same name as the entries in the settings + /// Environment overrides have the same name as the entries in the settings /// file in uppercase and prefixed with "price_". For example /// "price_LOG_" will override the log setting. pub fn new>(path: Option

) -> Result { diff --git a/reward_index/src/main.rs b/reward_index/src/main.rs index 227504b63..33a4aecbb 100644 --- a/reward_index/src/main.rs +++ b/reward_index/src/main.rs @@ -14,7 +14,7 @@ use tokio::signal; #[clap(about = "Helium Mobile Indexer")] pub struct Cli { /// Optional configuration file to use. If present the toml file at the - /// given path will be loaded. Environemnt variables can override the + /// given path will be loaded. Environment variables can override the /// settins in the given file. #[clap(short = 'c')] config: Option, diff --git a/reward_index/src/settings.rs b/reward_index/src/settings.rs index e72e1d913..ba86d5d70 100644 --- a/reward_index/src/settings.rs +++ b/reward_index/src/settings.rs @@ -60,7 +60,7 @@ impl Settings { /// Load Settings from a given path. Settings are loaded from a given /// optional path and can be overriden with environment variables. /// - /// Environemnt overrides have the same name as the entries in the settings + /// Environment overrides have the same name as the entries in the settings /// file in uppercase and prefixed with "MI_". For example "MI_DATABASE_URL" /// will override the data base url. pub fn new>(path: Option

) -> Result {