From 9c513bd8653a9d751b00424c63d123795e1583f0 Mon Sep 17 00:00:00 2001 From: standstaff Date: Fri, 15 Mar 2024 16:39:06 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: standstaff --- .../src/connector/replicate/transaction/aggregate/commit.rs | 2 +- dozer-ingestion/tests/test_suite/connectors/mongodb.rs | 2 +- dozer-sql/jsonpath/src/path/mod.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dozer-ingestion/oracle/src/connector/replicate/transaction/aggregate/commit.rs b/dozer-ingestion/oracle/src/connector/replicate/transaction/aggregate/commit.rs index 07444b902b..ea06f2c3db 100644 --- a/dozer-ingestion/oracle/src/connector/replicate/transaction/aggregate/commit.rs +++ b/dozer-ingestion/oracle/src/connector/replicate/transaction/aggregate/commit.rs @@ -18,7 +18,7 @@ pub fn commit( transaction_forest.remove_subtree(xid, |_, ops| operations.extend(ops)); if xid == pxid { - // This is a top level transaciton + // This is a top level transaction Some(Transaction { commit_scn: scn, commit_timestamp: timestamp, diff --git a/dozer-ingestion/tests/test_suite/connectors/mongodb.rs b/dozer-ingestion/tests/test_suite/connectors/mongodb.rs index 7dfe0c9af6..76283825fa 100644 --- a/dozer-ingestion/tests/test_suite/connectors/mongodb.rs +++ b/dozer-ingestion/tests/test_suite/connectors/mongodb.rs @@ -101,7 +101,7 @@ async fn create_mongodb_server() -> (mongodb::Database, MongodbConnectorTest, Mo None, ) .await - .expect("Failed to initalize replSet"); + .expect("Failed to initialize replSet"); let client = mongodb::Client::with_options(connection_options.clone()).unwrap(); let db = client.default_database().unwrap(); diff --git a/dozer-sql/jsonpath/src/path/mod.rs b/dozer-sql/jsonpath/src/path/mod.rs index c14c9e26f9..edbf8ad4ad 100644 --- a/dozer-sql/jsonpath/src/path/mod.rs +++ b/dozer-sql/jsonpath/src/path/mod.rs @@ -8,7 +8,7 @@ use dozer_types::json_types::JsonValue; /// The module is in charge of processing [[JsonPathIndex]] elements mod index; -/// The module is a helper module providing the set of helping funcitons to process a json elements +/// The module is a helper module providing the set of helping functions to process a json elements mod json; /// The module is responsible for processing of the [[JsonPath]] elements mod top;