Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Dec 12, 2024
1 parent b93482c commit f172fb4
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 @@ -332,7 +332,7 @@ struct JdbcUrl {
}

fn parse_jdbc_url(url: &str) -> anyhow::Result<JdbcUrl> {
if url.starts_with("jdbc:postgresql") {
if !url.starts_with("jdbc:postgresql") {
bail!("invalid jdbc url, to switch to postgres rust connector, we need to use the url jdbc:postgresql://...")
}

Expand Down

0 comments on commit f172fb4

Please sign in to comment.