This is an automated email from the ASF dual-hosted git repository.
piotr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git
The following commit(s) were added to refs/heads/master by this push:
new 8ba0650b fix(connector): fix clippy (#2243)
8ba0650b is described below
commit 8ba0650bce4c67faa64081ce3967240062687e13
Author: Huan-Cheng Chang <[email protected]>
AuthorDate: Mon Oct 6 21:32:17 2025 +0100
fix(connector): fix clippy (#2243)
---
core/connectors/sources/postgres_source/src/lib.rs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/core/connectors/sources/postgres_source/src/lib.rs
b/core/connectors/sources/postgres_source/src/lib.rs
index 624d83e4..90f57702 100644
--- a/core/connectors/sources/postgres_source/src/lib.rs
+++ b/core/connectors/sources/postgres_source/src/lib.rs
@@ -179,15 +179,15 @@ impl PostgresSource {
"pg_replicate" => {
#[cfg(feature = "cdc_pg_replicate")]
{
- return Err(Error::InitError(
+ Err(Error::InitError(
"pg_replicate backend not yet implemented".to_string(),
- ));
+ ))
}
#[cfg(not(feature = "cdc_pg_replicate"))]
{
- return Err(Error::InitError(
+ Err(Error::InitError(
"cdc_backend 'pg_replicate' requested but feature
'cdc_pg_replicate' is not enabled at build time".to_string(),
- ));
+ ))
}
}
other => Err(Error::InitError(format!(