Skip to content

Commit

Permalink
fix rust lint
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Mar 14, 2024
1 parent 51f2be8 commit 27732ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nexus/analyzer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ impl<'a> StatementAnalyzer for PeerDDLAnalyzer<'a> {
soft_delete_col_name,
synced_at_col_name,
initial_snapshot_only: initial_copy_only,
script: script,
script,
};

if initial_copy_only && !do_initial_copy {
Expand Down
2 changes: 1 addition & 1 deletion nexus/catalog/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ impl Catalog {
) -> anyhow::Result<String> {
let peer_dbtype = self.get_peer_type_for_id(peer_id).await?;

return if !table_identifier.contains('.') && peer_dbtype != DbType::Bigquery {
if !table_identifier.contains('.') && peer_dbtype != DbType::Bigquery {
Ok(format!("public.{}", table_identifier))
} else {
Ok(String::from(table_identifier))
Expand Down

0 comments on commit 27732ab

Please sign in to comment.