Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Dec 11, 2024
1 parent 6ba5bc6 commit e01f6d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream/src/from_proto/sink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ fn parse_jdbc_url(url: &str) -> anyhow::Result<JdbcUrl> {
let url = url.replace("jdbc:", "");
let url = Url::parse(&url).map_err(|e| anyhow!(e).context("failed to parse jdbc url"))?;
let scheme = url.scheme();
assert_eq!("postgresql", scheme, "jdbc target should be postgres");
assert_eq!("postgresql", scheme, "jdbc scheme should be postgresql");
let host = url
.host_str()
.ok_or_else(|| anyhow!("missing host in jdbc url"))?;
Expand Down

0 comments on commit e01f6d2

Please sign in to comment.