Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos in comment #925

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion boost_manager/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<PathBuf>,
Expand Down
2 changes: 1 addition & 1 deletion boost_manager/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<P: AsRef<Path>>(path: Option<P>) -> Result<Self, config::ConfigError> {
Expand Down
2 changes: 1 addition & 1 deletion denylist/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<P: AsRef<Path>>(path: Option<P>) -> Result<Self> {
Expand Down
2 changes: 1 addition & 1 deletion file_store/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<P: AsRef<Path>>(path: P) -> Result<Self> {
Config::builder()
.add_source(File::with_name(&path.as_ref().to_string_lossy()))
Expand Down
2 changes: 1 addition & 1 deletion ingest/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<P: AsRef<Path>>(path: Option<P>) -> Result<Self, config::ConfigError> {
Expand Down
2 changes: 1 addition & 1 deletion iot_packet_verifier/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<PathBuf>,
Expand Down
2 changes: 1 addition & 1 deletion iot_packet_verifier/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<impl AsRef<Path>>) -> Result<Self, ConfigError> {
Expand Down
2 changes: 1 addition & 1 deletion iot_verifier/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<P: AsRef<Path>>(path: Option<P>) -> Result<Self, config::ConfigError> {
Expand Down
2 changes: 1 addition & 1 deletion mobile_packet_verifier/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<PathBuf>,
Expand Down
2 changes: 1 addition & 1 deletion mobile_packet_verifier/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<impl AsRef<Path>>) -> Result<Self, ConfigError> {
Expand Down
2 changes: 1 addition & 1 deletion mobile_verifier/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<path::PathBuf>,
Expand Down
2 changes: 1 addition & 1 deletion mobile_verifier/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<P: AsRef<Path>>(path: Option<P>) -> Result<Self, ConfigError> {
Expand Down
2 changes: 1 addition & 1 deletion poc_entropy/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<path::PathBuf>,
Expand Down
2 changes: 1 addition & 1 deletion poc_entropy/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<P: AsRef<Path>>(path: Option<P>) -> Result<Self, config::ConfigError> {
Expand Down
2 changes: 1 addition & 1 deletion price/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<P: AsRef<Path>>(path: Option<P>) -> Result<Self, config::ConfigError> {
Expand Down
2 changes: 1 addition & 1 deletion reward_index/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<PathBuf>,
Expand Down
2 changes: 1 addition & 1 deletion reward_index/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<P: AsRef<Path>>(path: Option<P>) -> Result<Self, config::ConfigError> {
Expand Down