From 4ede4237113fe567f6cb54679adf75482908be18 Mon Sep 17 00:00:00 2001 From: russcoss Date: Mon, 6 Oct 2025 11:39:15 +0800 Subject: [PATCH] chore: fix some typos Signed-off-by: russcoss --- ingest/pkg/settings-template.toml | 2 +- iot_config/pkg/settings-template.toml | 2 +- mobile_config/pkg/settings-template.toml | 2 +- mobile_config/tests/integrations/common/mod.rs | 2 +- mobile_packet_verifier/src/banning/db.rs | 2 +- mobile_verifier/src/banning/db.rs | 2 +- poc_entropy/pkg/settings-template.toml | 2 +- reward_index/tests/integrations/common/mod.rs | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ingest/pkg/settings-template.toml b/ingest/pkg/settings-template.toml index 5270ef9a3..66d46661f 100644 --- a/ingest/pkg/settings-template.toml +++ b/ingest/pkg/settings-template.toml @@ -12,7 +12,7 @@ mode = "iot" # # token = "api-token" -# Listen addres for public grpc. Default below +# Listen address for public grpc. Default below # # listen = "0.0.0.0:9081" diff --git a/iot_config/pkg/settings-template.toml b/iot_config/pkg/settings-template.toml index 7861c7779..f752613c3 100644 --- a/iot_config/pkg/settings-template.toml +++ b/iot_config/pkg/settings-template.toml @@ -3,7 +3,7 @@ # log = "iot-config=debug,poc_store=info" -# Listen addres for public grpc. Default below +# Listen address for public grpc. Default below # # listen = "0.0.0.0:8080" diff --git a/mobile_config/pkg/settings-template.toml b/mobile_config/pkg/settings-template.toml index dccc2b0d9..ccdc59bb5 100644 --- a/mobile_config/pkg/settings-template.toml +++ b/mobile_config/pkg/settings-template.toml @@ -3,7 +3,7 @@ # log = "iot-mobile=debug,poc_store=info" -# Listen addres for public grpc. Default below +# Listen address for public grpc. Default below # # listen = "0.0.0.0:8080" diff --git a/mobile_config/tests/integrations/common/mod.rs b/mobile_config/tests/integrations/common/mod.rs index 6007db573..89e2c6cc2 100644 --- a/mobile_config/tests/integrations/common/mod.rs +++ b/mobile_config/tests/integrations/common/mod.rs @@ -42,7 +42,7 @@ pub async fn spawn_gateway_service( (format!("http://{addr}"), handle) } -// When retreiving a timestamp from DB, depending on the version of postgres +// When retrieving a timestamp from DB, depending on the version of postgres // the timestamp may be truncated. When comparing datetimes, to ones generated // in a test with `Utc::now()`, you should truncate it. pub fn nanos_trunc(ts: DateTime) -> DateTime { diff --git a/mobile_packet_verifier/src/banning/db.rs b/mobile_packet_verifier/src/banning/db.rs index c37aba38b..0d04b9134 100644 --- a/mobile_packet_verifier/src/banning/db.rs +++ b/mobile_packet_verifier/src/banning/db.rs @@ -6,7 +6,7 @@ use sqlx::{PgConnection, Row}; use super::{BannedRadios, BAN_CLEANUP_DAYS}; -// When retreiving banned radios, we want to get the +// When retrieving banned radios, we want to get the // latest ban for a radio at the given time. // // If a radio was banned for POC yesterday, diff --git a/mobile_verifier/src/banning/db.rs b/mobile_verifier/src/banning/db.rs index a8bd8a5ad..ec118da6d 100644 --- a/mobile_verifier/src/banning/db.rs +++ b/mobile_verifier/src/banning/db.rs @@ -8,7 +8,7 @@ use sqlx::{PgConnection, PgPool, Row}; use super::BAN_CLEANUP_DAYS; -// When retreiving banned radios, we want to get the +// When retrieving banned radios, we want to get the // latest ban for a radio at the given time. // // If a radio was banned for POC yesterday, diff --git a/poc_entropy/pkg/settings-template.toml b/poc_entropy/pkg/settings-template.toml index 3807b2dee..5b07de76d 100644 --- a/poc_entropy/pkg/settings-template.toml +++ b/poc_entropy/pkg/settings-template.toml @@ -6,7 +6,7 @@ # Source URL for entropy. Required source = "https://entropy.source.url" -# Listen addres for public api. Default below +# Listen address for public api. Default below # # listen = "0.0.0.0:8080" diff --git a/reward_index/tests/integrations/common/mod.rs b/reward_index/tests/integrations/common/mod.rs index 1c6f02887..44e03a097 100644 --- a/reward_index/tests/integrations/common/mod.rs +++ b/reward_index/tests/integrations/common/mod.rs @@ -15,7 +15,7 @@ pub fn bytes_mut_stream(els: Vec) -> BytesMutSt ) } -// When retreiving a timestamp from DB, depending on the version of postgres +// When retrieving a timestamp from DB, depending on the version of postgres // the timestamp may be truncated. When comparing datetimes, to ones generated // in a test with `Utc::now()`, you should truncate it. pub fn nanos_trunc(ts: DateTime) -> DateTime {